quick fix for the new xash3d-fwgs verison

This commit is contained in:
Marcus 2023-02-11 20:23:58 +01:00
parent 2a77b4ca48
commit 219e3b1545
1 changed files with 7 additions and 4 deletions

View File

@ -96,7 +96,8 @@ case $3 in
;;
"0.20")
XASH_GIT_URL="https://github.com/FWGS/xash3d-fwgs"
#XASH_GIT_URL="https://github.com/FWGS/xash3d-fwgs"
XASH_GIT_URL="https://github.com/kungfulon/xash3d-fwgs"
;;
*)
@ -222,7 +223,9 @@ case $XASH_INSTALL_MODE in
case $XASH_INSTALL_VERSION in
0.19)
cd bin
cmake --cmake-clean-cache ../
#old cmake from ubuntu 20.04
#cmake --cmake-clean-cache ../
# cmake --clean-first ../
checkerror $?
cd ../
if [ "$(ls -A bin)" ]
@ -235,8 +238,8 @@ case $XASH_INSTALL_MODE in
cd bin
;;
0.20)
./waf clean
checkerror $?
#./waf clean
#checkerror $?
if [ "$(ls -A bin)" ]
then
rm -Rf bin/*