xonotic-map-compiler-autobuild: don't abort the "download" action if xonotic-maps.pk3dir does not exist

This commit is contained in:
Rudolf Polzer 2011-04-08 06:38:25 +02:00
parent 6d284fda72
commit e3f69c1240

View File

@ -357,7 +357,10 @@ case "$1" in
runmakeindex
;;
download)
cd data/xonotic-maps.pk3dir
if ! cd data/xonotic-maps.pk3dir; then
echo "data/xonotic-maps.pk3dir does not exist, not downloading"
exit 0
fi
rundownload
cd ../..
echo "List of maps that got deleted (if any) and currently are in $bspdir.old:"