]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - fixbalance.sh
Replace all player/bot/spectator classname checks with macros
[xonotic/xonotic-data.pk3dir.git] / fixbalance.sh
1 #!/bin/sh
2
3 main=balanceXonotic.cfg
4 for X in balance*.cfg; do
5         case "$X" in
6                 "$main")
7                         ;;
8                 *)
9                         perl ../../misc/tools/cfgapply.pl "$main" "$X" > "$X.new" && mv "$X.new" "$X"
10                         ;;
11         esac
12 done
13 git diff