mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-17 18:40:02 +00:00
appimage: fix AppRun shell-script POSIX compatibility
This commit is contained in:
parent
b535c24edb
commit
014a09e222
@ -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…
x
Reference in New Issue
Block a user