appimage: fix AppRun shell-script POSIX compatibility

This commit is contained in:
Alibek Omarov
2019-06-12 22:14:12 +03:00
committed by GitHub
parent b535c24edb
commit 014a09e222

View File

@@ -20,7 +20,7 @@ cat > $APPDIR/AppRun << 'EOF'
echo "Xash3D FWGS installed as AppImage."
ENGINEROOT=$(dirname -- "$(readlink -f -- "$0")")
if [ "$XASH3D_BASEDIR" == "" ]; then
if [ "$XASH3D_BASEDIR" = "" ]; then
export XASH3D_BASEDIR=$PWD
fi
export XASH3D_EXTRAS_PAK1="${ENGINEROOT}"/extras.pak