]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - update-cvarcount.sh
one step towards making the rifle the "standard sniper gun" instead of the Nex: on...
[xonotic/xonotic-data.pk3dir.git] / update-cvarcount.sh
index 10bd39d94b738433bf00628933b5185f9d2f7975..539c0c1df1df5efba5ed86592053039633f3b84a 100755 (executable)
@@ -1,10 +1,10 @@
 #!/bin/sh
 
-countw=`awk '/^seta? g_/ { print $2; }' balance.cfg       | sort -u | tr -d '\r' | git hash-object --stdin | cut -c 1-32`
+countw=`awk '/^seta? g_/ { print $2; }' balanceXonotic.cfg       | sort -u | tr -d '\r' | git hash-object --stdin | cut -c 1-32`
 for b in balance*.cfg; do
        countb=`awk '/^seta? g_/ { print $2; }' "$b"  | sort -u | tr -d '\r' | git hash-object --stdin | cut -c 1-32`
        if [ "$countw" != "$countb" ]; then
-               echo "Mismatch between balance.cfg and $b. Aborting."
+               echo "Mismatch between balanceXonotic.cfg and $b. Aborting."
                exit 1
        fi
 done