JAL-3631 gradle-build-and-re-install script, works with macOS or Linux
authorBen Soares <b.soares@dundee.ac.uk>
Tue, 18 Jun 2024 20:37:20 +0000 (21:37 +0100)
committerBen Soares <b.soares@dundee.ac.uk>
Tue, 18 Jun 2024 20:37:20 +0000 (21:37 +0100)
utils/dev_install.sh

index 004877d..5648bf5 100755 (executable)
@@ -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