From 9d0d5222439c5e858aeff95878611f63b8fc9e3b Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Sat, 9 Apr 2011 19:00:58 +0200 Subject: [PATCH] hide error of "cd" --- misc/tools/xonotic-map-compiler-autobuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2