From: Rudolf Polzer <divVerent@gmail.com>
Date: Sun, 12 Jan 2020 04:19:58 +0000 (+0100)
Subject: Fix netradiant compile to put the q3map2 binary in the path where the compile script... 
X-Git-Tag: xonotic-v0.8.5~99
X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=81086fbdb3c137d382cc9a9af3226a3b602a1cc7;p=xonotic%2Fxonotic.git

Fix netradiant compile to put the q3map2 binary in the path where the compile script expects it.
---

diff --git a/misc/infrastructure/xonotic-map-compiler.cron b/misc/infrastructure/xonotic-map-compiler.cron
index 2064936c..eb743faa 100755
--- a/misc/infrastructure/xonotic-map-compiler.cron
+++ b/misc/infrastructure/xonotic-map-compiler.cron
@@ -13,6 +13,8 @@ set -e
 [ -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
+cd netradiant
 cmake -G "Unix Makefiles" -H. -Bbuild -DCMAKE_BUILD_TYPE=Release
 cmake --build build -- q3map2
+cd ..
 ./misc/tools/xonotic-map-compiler-autobuild build