# -include-options [path to other .vmoption file]
# Jalview specific options below
+
# Jalview options added by __INSTALLERFILENAME__ at __INSTALLDATETIME__
#
# Uncomment the following line to disable user-space updates
LONGHASH=$( printf %s "${APPLICATIONFOLDER}/${APPNAME}/Contents/Resources/app" | shasum -a 256 -b )
HASH=${LONGHASH:0:8}
NAME=${APPNAME%.app}
- US_NAME=${APPNAME// /_}
+ US_NAME=${NAME// /_}
PATHFILE="/etc/paths.d/${US_NAME}-${HASH}"
echo "${APPLICATIONFOLDER}/${APPNAME}/Contents/MacOS" > "${PATHFILE}" || addwarning "Possible problem writing path file '${PATHFILE}'" 15
fi