From 014a09e222c3a688d420f21079bbddffc872b087 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Wed, 12 Jun 2019 22:14:12 +0300 Subject: [PATCH] appimage: fix AppRun shell-script POSIX compatibility --- scripts/build_appimage.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build_appimage.sh b/scripts/build_appimage.sh index 06c69ebf..fbf7afcd 100755 --- a/scripts/build_appimage.sh +++ b/scripts/build_appimage.sh @@ -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