Skip to content

Commit 3a65b94

Browse files
committed
fix missing var bugs
1 parent 086e30e commit 3a65b94

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -366,8 +366,8 @@ install_standalone() {
366366
fi
367367

368368
"$sh_c" mkdir -p "$STANDALONE_INSTALL_PREFIX/lib" "$STANDALONE_INSTALL_PREFIX/bin"
369-
"$sh_c" tar -C "$STANDALONE_INSTALL_PREFIX/lib" -xzf "$CACHE_DIR/coder_$VERSION_$OS_$ARCH.tar"
370-
"$sh_c" mv -f "$STANDALONE_INSTALL_PREFIX/lib/coder_$VERSION_$OS_$ARCH" "$STANDALONE_INSTALL_PREFIX/lib/coder_$VERSION"
369+
"$sh_c" tar -C "$STANDALONE_INSTALL_PREFIX/lib" -xzf "$CACHE_DIR/coder_$${VERSION}_${OS}_${ARCH}.tar"
370+
"$sh_c" mv -f "$STANDALONE_INSTALL_PREFIX/lib/coder_$${VERSION}_${OS}_${ARCH}" "$STANDALONE_INSTALL_PREFIX/lib/coder_$VERSION"
371371
"$sh_c" ln -fs "$STANDALONE_INSTALL_PREFIX/lib/coder_$VERSION/bin/coder" "$STANDALONE_INSTALL_PREFIX/bin/coder"
372372

373373
echo_standalone_postinstall

0 commit comments

Comments
 (0)