]> git.rm.cloudns.org Git - xonotic/xonotic.git/commitdiff
hide error of "cd"
authorRudolf Polzer <divVerent@xonotic.org>
Sat, 9 Apr 2011 17:00:58 +0000 (19:00 +0200)
committerRudolf Polzer <divVerent@xonotic.org>
Sat, 9 Apr 2011 17:00:58 +0000 (19:00 +0200)
misc/tools/xonotic-map-compiler-autobuild

index 0b5cd720e4671f04d8937b933df95d802f01bf1c..cede0a22d83cbdf41804b996a86bbd83f5256502 100755 (executable)
@@ -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