From 81086fbdb3c137d382cc9a9af3226a3b602a1cc7 Mon Sep 17 00:00:00 2001
From: Rudolf Polzer <divVerent@gmail.com>
Date: Sun, 12 Jan 2020 05:19:58 +0100
Subject: [PATCH] Fix netradiant compile to put the q3map2 binary in the path
 where the compile script expects it.

---
 misc/infrastructure/xonotic-map-compiler.cron | 2 ++
 1 file changed, 2 insertions(+)

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
-- 
2.39.5