]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - check-cvars.sh
Small optimization
[xonotic/xonotic-data.pk3dir.git] / check-cvars.sh
index 031613a7bf00ec67744e246e99db6187be8f5399..43683feb8270802ad0c5abb52fa30356eeab4b16 100755 (executable)
@@ -27,6 +27,9 @@ check_files "balance-xonotic.cfg" "balance-*.cfg" "/^seta? g_/"
 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