From: Rudolf Polzer Date: Wed, 18 Sep 2013 10:41:44 +0000 (+0200) Subject: Fix. X-Git-Tag: xonotic-v0.8.0~69 X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fxonotic.git;a=commitdiff_plain;h=131767908d0ea0cd3ee4d3c94d6935a51064ce50 Fix. --- diff --git a/misc/tools/xonotic-map-compiler-autobuild b/misc/tools/xonotic-map-compiler-autobuild index 7425b59b..39c42fa2 100755 --- a/misc/tools/xonotic-map-compiler-autobuild +++ b/misc/tools/xonotic-map-compiler-autobuild @@ -178,7 +178,7 @@ buildthemap() t0=`date +%s` # It's sad that we must enforce this rule by code. - if grep -- '-nosRGB' "maps/$map.map.options" >/dev/null; then + if grep -- '-nosRGB' "maps/$M.map.options" >/dev/null; then is_nosrgb=true else is_nosrgb=false @@ -189,7 +189,7 @@ buildthemap() if ! $is_nosrgb; then if [ -n "$IRCSPAM" ]; then echo "CONGRATULATIONS: map $map does not use -nosRGB any more. Please remove the map name from the list in xonotic-map-compiler-autobuild once this is merged to master." | $IRCSPAM || true - fi + Fi fi ;; *)