From 131767908d0ea0cd3ee4d3c94d6935a51064ce50 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Wed, 18 Sep 2013 12:41:44 +0200 Subject: [PATCH] Fix. --- misc/tools/xonotic-map-compiler-autobuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ;; *) -- 2.39.2