Fix path to the LMMS binary in AppImage build script

This commit is contained in:
Hyunjin Song
2019-02-19 21:02:02 +09:00
parent 55eb831507
commit 18d478782c

View File

@@ -181,7 +181,7 @@ if [ -e "${APPDIR}/usr/lib/libjack.so.0" ]; then
fi
# Bundle jack out of LD_LIBRARY_PATH
JACK_LIB=$(ldd "${APPDIR}/usr/bin/lmms" | sed -n 's/\tlibjack\.so\.0 => \(.\+\) (0x[0-9a-f]\+)/\1/p')
JACK_LIB=$(ldd "${APPDIR}/usr/bin/lmms.real" | sed -n 's/\tlibjack\.so\.0 => \(.\+\) (0x[0-9a-f]\+)/\1/p')
if [ -e "$JACK_LIB" ]; then
mkdir -p "${APPDIR}usr/lib/lmms/optional/"
cp "$JACK_LIB" "${APPDIR}usr/lib/lmms/optional/"