From: Rudolf Polzer Date: Fri, 8 Apr 2011 04:38:25 +0000 (+0200) Subject: xonotic-map-compiler-autobuild: don't abort the "download" action if xonotic-maps... X-Git-Tag: xonotic-v0.5.0~107 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e3f69c1240066b38f96cf54e8c8a3a90f6710202;p=xonotic%2Fxonotic.git xonotic-map-compiler-autobuild: don't abort the "download" action if xonotic-maps.pk3dir does not exist --- 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:"