make overriding more strict again
authorRudolf Polzer <divverent@alientrap.org>
Tue, 5 Oct 2010 20:16:10 +0000 (22:16 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Tue, 5 Oct 2010 20:16:10 +0000 (22:16 +0200)
misc/tools/xonotic-map-compiler-autobuild

index 1194ee093db895bbb9f6205d790a2b1c030456c6..d366157d3df2f4db0f7fc70839c418ddf2e89de3 100755 (executable)
@@ -172,13 +172,13 @@ buildthemap()
        t0=`date +%s`
        (
                cd maps
-               sz=`grep '^size\>' "$M.mapinfo" 2>/dev/null || true`
+               sz=`grep '^size ' "$M.mapinfo" 2>/dev/null || true`
                if [ -n "$sz" ]; then
-                       minimap_override="-minimap + -minmax ${sz#size}"
+                       minimap_override="-minimap + -minmax ${sz#size }"
                else
                        minimap_override=
                fi
-               ../../../misc/tools/xonotic-map-compiler "$M" `grep ^- "$M.map.options" | cut -d '#' -f 1` $build_override $minimap_override > "$M.log"
+               ../../../misc/tools/xonotic-map-compiler "$M" `grep ^- "$M.map.options" | cut -d '#' -f 1` $minimap_override $build_override > "$M.log"
        )
        t1=`date +%s`
        dt=$(($t1 - $t0))