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

View file

@ -96,7 +96,8 @@ case $3 in
;; ;;
"0.20") "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 case $XASH_INSTALL_VERSION in
0.19) 0.19)
cd bin cd bin
cmake --cmake-clean-cache ../ #old cmake from ubuntu 20.04
#cmake --cmake-clean-cache ../
# cmake --clean-first ../
checkerror $? checkerror $?
cd ../ cd ../
if [ "$(ls -A bin)" ] if [ "$(ls -A bin)" ]
@ -235,8 +238,8 @@ case $XASH_INSTALL_MODE in
cd bin cd bin
;; ;;
0.20) 0.20)
./waf clean #./waf clean
checkerror $? #checkerror $?
if [ "$(ls -A bin)" ] if [ "$(ls -A bin)" ]
then then
rm -Rf bin/* rm -Rf bin/*