From: Rudolf Polzer Date: Sat, 9 Apr 2011 17:00:58 +0000 (+0200) Subject: hide error of "cd" X-Git-Tag: xonotic-v0.5.0~105^2~1 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=9d0d5222439c5e858aeff95878611f63b8fc9e3b;p=xonotic%2Fxonotic.git hide error of "cd" --- diff --git a/misc/tools/xonotic-map-compiler-autobuild b/misc/tools/xonotic-map-compiler-autobuild index 0b5cd720..cede0a22 100755 --- a/misc/tools/xonotic-map-compiler-autobuild +++ b/misc/tools/xonotic-map-compiler-autobuild @@ -357,7 +357,7 @@ case "$1" in runmakeindex ;; download) - if ! cd data/xonotic-maps.pk3dir; then + if ! cd data/xonotic-maps.pk3dir >/dev/null 2>&1; then echo "data/xonotic-maps.pk3dir does not exist, not downloading" exit 0 fi