r5478 - trunk/data

esteel at icculus.org esteel at icculus.org
Fri Jan 9 16:58:39 EST 2009


Author: esteel
Date: 2009-01-09 16:58:39 -0500 (Fri, 09 Jan 2009)
New Revision: 5478

Modified:
   trunk/data/update-cvarcount.sh
Log:
forgot this file when renaming Pro to Havoc

Modified: trunk/data/update-cvarcount.sh
===================================================================
--- trunk/data/update-cvarcount.sh	2009-01-09 20:14:28 UTC (rev 5477)
+++ trunk/data/update-cvarcount.sh	2009-01-09 21:58:39 UTC (rev 5478)
@@ -2,16 +2,16 @@
 
 countd=`awk '/^seta? g_/ { print $2; }' defaultNexuiz.cfg | sort -u | md5sum | cut -c 1-32`
 countw=`awk '/^seta? g_/ { print $2; }' weapons.cfg       | sort -u | md5sum | cut -c 1-32`
-countp=`awk '/^seta? g_/ { print $2; }' weaponsPro.cfg    | sort -u | md5sum | cut -c 1-32`
+countp=`awk '/^seta? g_/ { print $2; }' weaponsHavoc.cfg  | sort -u | md5sum | cut -c 1-32`
 
 if [ "$countw" != "$countp" ]; then
-	echo "Mismatch between weapons.cfg and weaponsPro.cfg. Aborting."
+	echo "Mismatch between weapons.cfg and weaponsHavoc.cfg. Aborting."
 	exit 1
 fi
 
 sed -i "s/^set cvar_check_default .*/set cvar_check_default $countd/" defaultNexuiz.cfg
 sed -i "s/^set cvar_check_weapons .*/set cvar_check_weapons $countw/" weapons.cfg
-sed -i "s/^set cvar_check_weapons .*/set cvar_check_weapons $countw/" weaponsPro.cfg
+sed -i "s/^set cvar_check_weapons .*/set cvar_check_weapons $countw/" weaponsHavoc.cfg
 
 sed -i "s/^string CVAR_CHECK_DEFAULT = .*/string CVAR_CHECK_DEFAULT = \"$countd\";/" qcsrc/server/constants.qh
 sed -i "s/^string CVAR_CHECK_WEAPONS = .*/string CVAR_CHECK_WEAPONS = \"$countw\";/" qcsrc/server/constants.qh




More information about the nexuiz-commits mailing list