Fix $PATH value in AppImage

Closes #5187
This commit is contained in:
Tres Finocchiaro
2019-09-15 10:18:47 -04:00
committed by GitHub
parent 6782b6d6c4
commit ffa03df72b

View File

@@ -103,7 +103,7 @@ mv "${APPDIR}usr/bin/lmms" "${APPDIR}usr/bin/lmms.real"
cat >"${APPDIR}usr/bin/lmms" <<EOL
#!/usr/bin/env bash
DIR="\$( cd "\$( dirname "\${BASH_SOURCE[0]}" )" && pwd )"
export PATH="$PATH:/sbin"
export PATH="\$PATH:/sbin"
if which carla > /dev/null 2>&1; then
CARLAPATH="\$(which carla)"
CARLAPREFIX="\${CARLAPATH%/bin*}"