quick fix for the new xash3d-fwgs verison
This commit is contained in:
parent
2a77b4ca48
commit
219e3b1545
1 changed files with 7 additions and 4 deletions
|
@ -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/*
|
||||||
|
|
Loading…
Reference in a new issue