From: Ben Soares Date: Tue, 18 Jun 2024 20:37:20 +0000 (+0100) Subject: JAL-3631 gradle-build-and-re-install script, works with macOS or Linux X-Git-Tag: Release_2_11_4_0~24^2~32 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=8c888a7b06bcd577dde3028941eb5900ec69f817;p=jalview.git JAL-3631 gradle-build-and-re-install script, works with macOS or Linux --- diff --git a/utils/dev_install.sh b/utils/dev_install.sh index 004877d..5648bf5 100755 --- a/utils/dev_install.sh +++ b/utils/dev_install.sh @@ -197,8 +197,8 @@ case $OS in APPDIR="${HOME}/opt/${APPLCU}" fi - if [ -e '$APPDIR' ]; then - echo "Uninstalling ${APP} at '{$APPDIR}'" + if [ -e "$APPDIR" ]; then + echo "Uninstalling ${APP} at '${APPDIR}'" if [ -e "${APPDIR}/uninstall" ]; then ${APPDIR}/uninstall -q else