annotate deploy/linux/AppRun @ 727:bd9a54f9aca8

Fix typo
author Chris Cannam
date Mon, 17 Dec 2018 09:35:14 +0000
parents 21e4df9865af
children
rev   line source
Chris@700 1 #!/bin/sh
Chris@700 2
Chris@700 3 mydir=$(dirname "$0")
Chris@700 4 case "$mydir" in
Chris@700 5 /*) ;;
Chris@700 6 *) mydir="$PWD/$mydir";;
Chris@700 7 esac
Chris@700 8
Chris@700 9 echo "AppImage root is $mydir"
Chris@700 10
Chris@700 11 PATH="$mydir/usr/bin:$mydir/bin:$PATH"
Chris@700 12 export PATH
Chris@700 13
Chris@700 14 LD_LIBRARY_PATH="$mydir/usr/lib:$mydir/usr/lib/x86_64-linux-gnu:$mydir/usr/lib64:$LD_LIBRARY_PATH"
Chris@700 15 export LD_LIBRARY_PATH
Chris@700 16
Chris@700 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@700 18 export QT_PLUGIN_PATH
Chris@700 19
Chris@700 20 XDG_DATA_DIRS="$mydir/usr/share:$XDG_DATA_DIRS:/usr/local/share:/usr/share"
Chris@700 21 export XDG_DATA_DIRS
Chris@700 22
Chris@700 23 GSETTINGS_SCHEMA_DIR="$mydir/usr/share/glib-2.0/schemas:$GSETTINGS_SCHEMA_DIR"
Chris@700 24 export GSETTINGS_SCHEMA_DIR
Chris@700 25
Chris@700 26 exec "$mydir/usr/bin/EasyMercurial" "$@"