„install-xash3ds.sh“ ändern

This commit is contained in:
DeltaLima 2022-08-21 22:12:06 +00:00
parent 2f02dd8ab2
commit 05255d9f71

View file

@ -9,8 +9,7 @@ metamod_url="https://github.com/mittorn/metamod-p/releases/download/1/metamod.so
amxmod_url="http://www.amxmodx.org/release/amxmodx-$amxmod_version-base-linux.tar.gz" amxmod_url="http://www.amxmodx.org/release/amxmodx-$amxmod_version-base-linux.tar.gz"
jk_botti_url="http://koti.kapsi.fi/jukivili/web/jk_botti/jk_botti-$jk_botti_version-release.tar.xz" jk_botti_url="http://koti.kapsi.fi/jukivili/web/jk_botti/jk_botti-$jk_botti_version-release.tar.xz"
if [ ! -z "$1" ]
then
if [ "$1" == "client" ] if [ "$1" == "client" ]
then then
CLIENT=true CLIENT=true
@ -24,7 +23,6 @@ then
PACKAGES="build-essential ca-certificates cmake curl git gnupg2 g++-multilib lib32gcc1-s1 libstdc++6:i386 python unzip xz-utils zip" PACKAGES="build-essential ca-certificates cmake curl git gnupg2 g++-multilib lib32gcc1-s1 libstdc++6:i386 python unzip xz-utils zip"
WAF_OPTION="-d" WAF_OPTION="-d"
fi fi
fi
XASH3D_BASEDIR=$(pwd)/build XASH3D_BASEDIR=$(pwd)/build
mkdir -p $XASH3D_BASEDIR/result mkdir -p $XASH3D_BASEDIR/result