]> git.xonotic.org Git - xonotic/xonotic.git/commitdiff
Update map compiler script from rm.cloudns.org.
authorRudolf Polzer <divVerent@gmail.com>
Thu, 1 Apr 2021 12:20:40 +0000 (14:20 +0200)
committerRudolf Polzer <divVerent@gmail.com>
Thu, 1 Apr 2021 12:20:40 +0000 (14:20 +0200)
misc/infrastructure/xonotic-map-compiler.cron

index eb743faa38d43a156452a8cd728a753e0b9acdb5..14f9fe1ebf7f979b06c861eefed5fe92635c228e 100755 (executable)
@@ -9,7 +9,7 @@ lockfile-touch "$me" & lockpid=$!
 trap 'kill $lockpid || true; cd "$mepwd"; lockfile-remove "$me"' EXIT
 trap 'exit 1' INT TERM
 
-set -e
+set -ex
 [ -d xonotic-map-compiler ] || git clone git://git.xonotic.org/xonotic/xonotic.git xonotic-map-compiler
 cd xonotic-map-compiler
 ./all clean -m -fU -D # like reclone but do not delete untracked, so q3map2.x86 compile stays
@@ -17,4 +17,4 @@ cd netradiant
 cmake -G "Unix Makefiles" -H. -Bbuild -DCMAKE_BUILD_TYPE=Release
 cmake --build build -- q3map2
 cd ..
-./misc/tools/xonotic-map-compiler-autobuild build
+sh -x ./misc/tools/xonotic-map-compiler-autobuild build