JAL-3631 Remove a debug echo
authorBen Soares <b.soares@dundee.ac.uk>
Thu, 1 Aug 2024 15:15:11 +0000 (16:15 +0100)
committerBen Soares <b.soares@dundee.ac.uk>
Thu, 1 Aug 2024 15:15:11 +0000 (16:15 +0100)
utils/getdown/bin/update.sh

index 9b9d2ac..f918abf 100755 (executable)
@@ -66,7 +66,6 @@ if [ "${ISMACOS}" = 1 ]; then
   DIR="$(dirname "${SCRIPT}")"
   APPDIR="${DIR%/bin}"
   JAVABIN="${APPDIR}/jre/Contents/Home/bin"
-  JAVA="${JAVABIN}/java"
   # e.g. APPFOLDER=/Applications/Jalview.app
   APPFOLDER="${APPDIR%%.app/*}.app"
   VMOPTIONS="${APPFOLDER}/Contents/vmoptions.txt"
@@ -76,11 +75,11 @@ else
   DIR="$(dirname "${SCRIPT}")"
   APPDIR="${DIR%/bin}"
   JAVABIN="${APPDIR}/jre/bin"
-  JAVA="${JAVABIN}/java"
   # e.g. APPFOLDER=/opt/jalview
   APPFOLDER="${APPDIR}"
   VMOPTIONS="${APPDIR}/jalviewg.vmoptions"
 fi
+JAVA="${JAVABIN}/java"
 
 # headless java arguments
 JVMARGS=( "${JVMARGS[@]}" "-Djava.awt.headless=true" )
@@ -94,7 +93,6 @@ GETDOWNLAUNCHERJAR="${APPDIR}/getdown-launcher.jar"
 GETDOWNCOREJAR="${APPDIR}/resource/getdown-core.jar"
 CHANNELPROPS="${APPDIR}/channel.props"
 NAME="$( grep app_name= "${CHANNELPROPS}" | cut -d= -f2 )"
-echo $NAME
 US_NAME="${NAME// /_}"
 
 GDL_CLASSPATH=""