Skip to content
Permalink
Browse files

Fix Carla detection in AppImage launcher script

Fixes a typo which hardcodes Carla path at the packaging time.
  • Loading branch information...
PhysSong committed Oct 4, 2018
1 parent a2685c1 commit 9799f3ca1c0c0a23565863a6c197149819320937
Showing with 1 addition and 1 deletion.
  1. +1 −1 cmake/linux/package_linux.sh.in
@@ -98,7 +98,7 @@ cat >"${APPDIR}usr/bin/lmms" <<EOL
#!/usr/bin/env bash
DIR="\$( cd "\$( dirname "\${BASH_SOURCE[0]}" )" && pwd )"
if which carla > /dev/null 2>&1; then
CARLAPATH="$(which carla)"
CARLAPATH="\$(which carla)"
CARLAPREFIX="\${CARLAPATH%/bin*}"
echo "Carla appears to be installed on this system at \$CARLAPREFIX/lib[64]/carla so we'll use it."
export LD_LIBRARY_PATH=\$CARLAPREFIX/lib/carla:\$CARLAPREFIX/lib64/carla:\$LD_LIBRARY_PATH

0 comments on commit 9799f3c

Please sign in to comment.
You can’t perform that action at this time.