From: FruitieX Date: Sat, 24 Jul 2010 17:14:53 +0000 (+0300) Subject: change update-cvarcount.sh to use balanceXonotic.cfg X-Git-Tag: xonotic-v0.1.0preview~421 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=707b507ca6af727edb07ad82399c455a798de88c;p=xonotic%2Fxonotic-data.pk3dir.git change update-cvarcount.sh to use balanceXonotic.cfg --- diff --git a/update-cvarcount.sh b/update-cvarcount.sh index 10bd39d94..539c0c1df 100755 --- a/update-cvarcount.sh +++ b/update-cvarcount.sh @@ -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