Browse Source

appimage: fix AppRun shell-script POSIX compatibility

pull/2/head
Alibek Omarov 6 years ago committed by GitHub
parent
commit
014a09e222
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      scripts/build_appimage.sh

2
scripts/build_appimage.sh

@ -20,7 +20,7 @@ cat > $APPDIR/AppRun << 'EOF' @@ -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

Loading…
Cancel
Save