From 18404850ff585e8f05d37a5ac1d1c99225dfb73d Mon Sep 17 00:00:00 2001 From: Daniils Petrovs Date: Thu, 25 Aug 2022 00:23:37 +0200 Subject: [PATCH] Update installer script --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 61d1396..95ebdf9 100755 --- a/install.sh +++ b/install.sh @@ -5,12 +5,12 @@ PWD=$(pwd) echo "Installing ATOSS CLI..." -LOCAL_JAR_FILE=$PWD/target/uberjar/atoss-cli-standalone.jar +LOCAL_JAR_FILE=$PWD/target/default+uberjar/atoss-cli-standalone.jar INSTALL_DIR=/usr/local/bin/ if [ -f "$LOCAL_JAR_FILE" ]; then echo "Local uberjar exists, skipping pull from remote." - cp -f $PWD/target/uberjar/atoss-cli-standalone.jar $INSTALL_DIR + cp -f "$LOCAL_JAR_FILE" "$INSTALL_DIR" else echo "$LOCAL_JAR_FILE does not exist, pulling release from Github."