annotate deploy/linux/AppRun @ 372:df443955119c

Fix syntax error
author Chris Cannam
date Fri, 05 Jun 2020 11:09:12 +0100
parents a0ff34e9e86b
children f7b1e81991e4
rev   line source
Chris@371 1 #!/bin/sh
Chris@371 2
Chris@371 3 mydir=$(dirname "$0")
Chris@371 4 case "$mydir" in
Chris@371 5 /*) ;;
Chris@371 6 *) mydir="$PWD/$mydir";;
Chris@371 7 esac
Chris@371 8
Chris@371 9 echo "AppImage root is $mydir"
Chris@371 10
Chris@371 11 PATH="$mydir/usr/bin:$mydir/bin:$PATH"
Chris@371 12 export PATH
Chris@371 13
Chris@371 14 LD_LIBRARY_PATH="$mydir/usr/lib:$mydir/usr/lib/x86_64-linux-gnu:$mydir/usr/lib64:$LD_LIBRARY_PATH"
Chris@371 15 export LD_LIBRARY_PATH
Chris@371 16
Chris@371 17 QT_PLUGIN_PATH="$mydir/usr/lib/qt5/plugins/:$mydir/usr/lib/x86_64-linux-gnu/qt5/plugins/:$mydir/usr/lib64/qt5/plugins/:$QT_PLUGIN_PATH"
Chris@371 18 export QT_PLUGIN_PATH
Chris@371 19
Chris@371 20 XDG_DATA_DIRS="$mydir/usr/share:$XDG_DATA_DIRS:/usr/local/share:/usr/share"
Chris@371 21 export XDG_DATA_DIRS
Chris@371 22
Chris@371 23 GSETTINGS_SCHEMA_DIR="$mydir/usr/share/glib-2.0/schemas:$GSETTINGS_SCHEMA_DIR"
Chris@371 24 export GSETTINGS_SCHEMA_DIR
Chris@371 25
Chris@371 26 exec "$mydir/usr/bin/sonic-visualiser" "$@"