]> git.xonotic.org Git - xonotic/xonotic.git/commitdiff
./all compile-map: finally fix the import of map.options!
authorMatthias Krüger <matthias.krueger@famsik.de>
Sun, 16 Jun 2013 10:25:51 +0000 (12:25 +0200)
committerMatthias Krüger <matthias.krueger@famsik.de>
Sun, 16 Jun 2013 10:25:51 +0000 (12:25 +0200)
misc/tools/all/xonotic.subr

index 2c65192e5723e3fe76f35cf444a9fb80cff09f96..ef09a530cc755318bf67c158d799e6984a2e0d53 100644 (file)
@@ -19,7 +19,7 @@ case "$cmd" in
                        if [ ! -f "$mapfile" ] ; then
                                msg "ERROR, $mapfile not found!"
                        else
-                               time misc/tools/xonotic-map-compiler $mapfile
+                               time misc/tools/xonotic-map-compiler $mapfile `grep "^-" $mapfile.options`
                        fi
                done
                ;;