From 8f24d0a7732443b5f99735868a909e33641589d7 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Fri, 21 Sep 2012 20:40:29 +0200 Subject: [PATCH] map compiler autobuild: support a var BUILD_ONE that makes it only perform one build per invocation --- misc/tools/xonotic-map-compiler-autobuild | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/misc/tools/xonotic-map-compiler-autobuild b/misc/tools/xonotic-map-compiler-autobuild index 0ef0c1fe..aa14ddd0 100755 --- a/misc/tools/xonotic-map-compiler-autobuild +++ b/misc/tools/xonotic-map-compiler-autobuild @@ -204,6 +204,9 @@ buildthemap() if [ -n "$IRCSPAM" ]; then $IRCSPAM < "maps/$M.irc" || true fi + if [ -n "$BUILD_ONE" ]; then + exit + fi } screenshotthemap() @@ -255,6 +258,9 @@ screenshotthemap() if [ -n "$IRCSPAM" ]; then $IRCSPAM < "$M-$blobhash/$M.ircss" || true fi + if [ -n "$BUILD_ONE" ]; then + exit + fi } getthemap() -- 2.39.2