Skip to content

Commit cd7f14d

Browse files
committed
fix install shell
1 parent 3ae7ba8 commit cd7f14d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

install.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ set_filename() {
6868
}
6969

7070
download_snm() {
71+
72+
echo "INSTALL_DIR: $INSTALL_DIR"
73+
7174
if [ "$RELEASE" = "latest" ]; then
7275
URL="https://github.com/sheinsight/snm/releases/latest/download/$FILENAME"
7376
else
@@ -84,7 +87,7 @@ download_snm() {
8487
echo "Please check permissions and try again."
8588
exit 1
8689
fi
87-
90+
8891
if ! curl --progress-bar --fail -L "$URL" -o "$DOWNLOAD_DIR/$FILENAME"; then
8992
echo "Download failed. Check that the release/filename are correct."
9093
exit 1

0 commit comments

Comments
 (0)