]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - misc/tools/xonotic-map-compiler-autobuild
do not use -noshaderlist. If it fails, I'll fix it.
[xonotic/xonotic.git] / misc / tools / xonotic-map-compiler-autobuild
index 00359af61b5a6bd66ff815ab30b120d3a6bc8cc6..bab7adc14e87ea17045ea48bf2fa3856fd017768 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-set -ex
+set -e
 
 bspdir="$PWD/bspfiles"
 url=http://141.2.16.23/~xonotic/bsp-autobuilds/
@@ -33,7 +33,7 @@ buildthemap()
        fi
        (
                cd maps
-               ../../../misc/tools/xonotic-map-compiler "$M" -noshaderlist `head -n 1 "$M.map.options"` 2>&1 | tee "$M.log"
+               ../../../misc/tools/xonotic-map-compiler "$M" `head -n 1 "$M.map.options"` 2>&1 | tee "$M.log"
        )
        zip -9r "$bspdir/$M-$blobhash.pk3" "maps/$M.bsp" "maps/$M.log" "maps/$M/" "maps/$M.lin" "gfx/${M}_mini.tga"
        ln -snf "../$M-$blobhash.pk3" "$bspdir/latest/$M.pk3" # from ALL branches, so beware!
@@ -46,7 +46,7 @@ getthemap()
        bspdir=$3
        M=$4
        blobhash=$5
-       if mv "$bspdir_old/$M-$blobhash.pk3" "$bspdir/$M-blobhash.pk3"; then
+       if mv "$bspdir_old/$M-$blobhash.pk3" "$bspdir/$M-$blobhash.pk3"; then
                continue
        fi
        if ! wget -O "$bspdir/$M-$blobhash.pk3" "$url$M-$blobhash.pk3"; then