hide error of "cd"

This commit is contained in:
Rudolf Polzer 2011-04-09 19:00:58 +02:00
parent e3f69c1240
commit 9d0d522243

View File

@ -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