change update-cvarcount.sh to use balanceXonotic.cfg
authorFruitieX <rasse@rasse-lappy.localdomain>
Sat, 24 Jul 2010 17:14:53 +0000 (20:14 +0300)
committerFruitieX <rasse@rasse-lappy.localdomain>
Sat, 24 Jul 2010 17:14:53 +0000 (20:14 +0300)
update-cvarcount.sh

index 10bd39d..539c0c1 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