From: Rudolf Polzer Date: Wed, 4 Aug 2010 07:06:05 +0000 (+0200) Subject: now that we HAVE an official map, we can get rid of the ???????????????-????????... X-Git-Tag: xonotic-v0.1.0preview~338^2~4 X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fxonotic.git;a=commitdiff_plain;h=0fcb7de675a3251be02a1e8f5542d729af58a467 now that we HAVE an official map, we can get rid of the ???????????????-??????????? error message :P --- diff --git a/misc/tools/xonotic-map-compiler-autobuild b/misc/tools/xonotic-map-compiler-autobuild index dcce6abc..8f3f4aa0 100755 --- a/misc/tools/xonotic-map-compiler-autobuild +++ b/misc/tools/xonotic-map-compiler-autobuild @@ -180,7 +180,11 @@ case "$1" in ;; download) mkdir -p "$bspdir" "$bspdir.old" - mv "$bspdir"/*-????????????????????????????????????????-????????????????????????????????????????.pk3 "$bspdir.old"/ || true + for b in "$bspdir"/*-????????????????????????????????????????-????????????????????????????????????????.pk3; do + if [ -e "$b" ]; then + mv "$b" "$bspdir.old"/ + fi + done cd data/xonotic-maps.pk3dir allmaps getthemap "$url" "$bspdir.old" "$bspdir" echo "List of maps that got deleted (if any) and currently are in $bspdir.old:"