if [ -n "$IRCSPAM" ]; then
$IRCSPAM < "maps/$M.irc" || true
fi
+ if [ -n "$BUILD_ONE" ]; then
+ exit
+ fi
}
screenshotthemap()
if [ -n "$IRCSPAM" ]; then
$IRCSPAM < "$M-$blobhash/$M.ircss" || true
fi
+ if [ -n "$BUILD_ONE" ]; then
+ exit
+ fi
}
getthemap()
runmakeindex
;;
download)
+ if ! which unzip >/dev/null 2>&1; then
+ echo "Cannot find unzip, bailing out"
+ exit 1
+ fi
if ! cd data/xonotic-maps.pk3dir >/dev/null 2>&1; then
echo "data/xonotic-maps.pk3dir does not exist, not downloading"
exit 0