]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - misc/tools/xonotic-map-compiler-autobuild
hide error of "cd"
[xonotic/xonotic.git] / 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