diff --git a/build/installcli/jf.sh b/build/installcli/jf.sh index 6e4ca516b..4619708d4 100755 --- a/build/installcli/jf.sh +++ b/build/installcli/jf.sh @@ -76,8 +76,7 @@ while [ -n "$1" ]; do else echo "" echo "We'd like to install the JFrog CLI executable in $1. Please approve this installation by entering your password." - if sudo mv $FILE_NAME "$1" -eq "0" - then + if sudo mv $FILE_NAME "$1" ; then echo "" echo "The $FILE_NAME executable was installed in $1" jf intro diff --git a/build/installcli/jfrog.sh b/build/installcli/jfrog.sh index 77c86b7af..80ec7c3f3 100755 --- a/build/installcli/jfrog.sh +++ b/build/installcli/jfrog.sh @@ -75,8 +75,7 @@ while [ -n "$1" ]; do else echo "" echo "We'd like to install the JFrog CLI executable in $1. Please approve this installation by entering your password." - if sudo mv $FILE_NAME "$1" -eq "0" - then + if sudo mv $FILE_NAME "$1" ; then echo "" echo "The $FILE_NAME executable was installed in $1" exit 0 diff --git a/build/setupcli/jf.sh b/build/setupcli/jf.sh index f6fa02fae..ecf68f0cc 100755 --- a/build/setupcli/jf.sh +++ b/build/setupcli/jf.sh @@ -81,8 +81,7 @@ while [ -n "$1" ]; do else echo "" echo "We'd like to install the JFrog CLI executable in $1. Please approve this installation by entering your password." - if sudo mv $FILE_NAME "$1" -eq "0" - then + if sudo mv $FILE_NAME "$1" ; then echo "" echo "The $FILE_NAME executable was installed in $1" print_installation_greeting