From e3f69c1240066b38f96cf54e8c8a3a90f6710202 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Fri, 8 Apr 2011 06:38:25 +0200 Subject: [PATCH] xonotic-map-compiler-autobuild: don't abort the "download" action if xonotic-maps.pk3dir does not exist --- misc/tools/xonotic-map-compiler-autobuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/misc/tools/xonotic-map-compiler-autobuild b/misc/tools/xonotic-map-compiler-autobuild index 2810ff8f..0b5cd720 100755 --- a/misc/tools/xonotic-map-compiler-autobuild +++ b/misc/tools/xonotic-map-compiler-autobuild @@ -357,7 +357,10 @@ case "$1" in runmakeindex ;; download) - cd data/xonotic-maps.pk3dir + if ! cd data/xonotic-maps.pk3dir; then + echo "data/xonotic-maps.pk3dir does not exist, not downloading" + exit 0 + fi rundownload cd ../.. echo "List of maps that got deleted (if any) and currently are in $bspdir.old:" -- 2.39.2