appimage: fix AppRun shell-script POSIX compatibility
This commit is contained in:
parent
b535c24edb
commit
014a09e222
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ cat > $APPDIR/AppRun << 'EOF'
|
||||||
echo "Xash3D FWGS installed as AppImage."
|
echo "Xash3D FWGS installed as AppImage."
|
||||||
|
|
||||||
ENGINEROOT=$(dirname -- "$(readlink -f -- "$0")")
|
ENGINEROOT=$(dirname -- "$(readlink -f -- "$0")")
|
||||||
if [ "$XASH3D_BASEDIR" == "" ]; then
|
if [ "$XASH3D_BASEDIR" = "" ]; then
|
||||||
export XASH3D_BASEDIR=$PWD
|
export XASH3D_BASEDIR=$PWD
|
||||||
fi
|
fi
|
||||||
export XASH3D_EXTRAS_PAK1="${ENGINEROOT}"/extras.pak
|
export XASH3D_EXTRAS_PAK1="${ENGINEROOT}"/extras.pak
|
||||||
|
|
Loading…
Add table
Reference in a new issue