]> git.rm.cloudns.org Git - xonotic/xonotic.git/commitdiff
Fix.
authorRudolf Polzer <divverent@xonotic.org>
Wed, 18 Sep 2013 10:41:44 +0000 (12:41 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Wed, 18 Sep 2013 10:41:44 +0000 (12:41 +0200)
misc/tools/xonotic-map-compiler-autobuild

index 7425b59b1c61b89e584fde594bf2a28451dd34af..39c42fa2a6353747949297f1eb66acd50f2fbfec 100755 (executable)
@@ -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
                        ;;
                *)