]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - check-cvars.sh
Update hash
[xonotic/xonotic-data.pk3dir.git] / check-cvars.sh
index 78985b81947af96ede8d5800c0bb1d42f38e35aa..43683feb8270802ad0c5abb52fa30356eeab4b16 100755 (executable)
@@ -23,10 +23,13 @@ check_files()
        done
 }
 
        done
 }
 
-check_files "balanceXonotic.cfg" "balance*.cfg" "/^seta? g_/"
+check_files "balance-xonotic.cfg" "balance-*.cfg" "/^seta? g_/"
 check_files "_hud_descriptions.cfg" "hud_*.cfg" "/^seta? hud_/"
 
 if $errord; then
 check_files "_hud_descriptions.cfg" "hud_*.cfg" "/^seta? hud_/"
 
 if $errord; then
+    if [ "$CMAKE" != "" ]; then
+           exit 1
+       fi
        echo "Please wait for 30 seconds, so you have had enough time to read this..."
        sleep 30
 fi
        echo "Please wait for 30 seconds, so you have had enough time to read this..."
        sleep 30
 fi