From 0fcb7de675a3251be02a1e8f5542d729af58a467 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Wed, 4 Aug 2010 09:06:05 +0200 Subject: [PATCH] now that we HAVE an official map, we can get rid of the ???????????????-??????????? error message :P --- misc/tools/xonotic-map-compiler-autobuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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:" -- 2.39.2