Skip to content

Commit

Permalink
Fix Carla detection in AppImage launcher script
Browse files Browse the repository at this point in the history
Fixes a typo which hardcodes Carla path at the packaging time.
  • Loading branch information
PhysSong committed Oct 4, 2018
1 parent a2685c1 commit 9799f3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/linux/package_linux.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9799f3c

Please sign in to comment.