fi
done
;;
+ update-maps)
+ misc/tools/xonotic-map-compiler-autobuild download
+ ;;
checkout|switch)
remote=$1
branch=$2
for T in $TARGETS; do
verbose make $MAKEFLAGS "$@" "$T"
done
+ verbose "$SELF" update-maps
;;
run)
if [ -n "$WE_HATE_OUR_USERS" ]; then
set -e
-bspdir="$PWD/bspfiles"
+bspdir="$PWD/data"
url=http://141.2.16.23/~xonotic/bsp-autobuilds/
bspoutdir="$HOME/public_html/bsp-autobuilds/"
;;
download)
rm -rf "$bspdir.old"
- mv "$bspdir" "$bspdir.old" || true
- mkdir -p "$bspdir"
+ mkdir -p "$bspdir" "$bspdir.old"
+ mv "$bspdir"/*-????????????????????????????????????????-????????????????????????????????????????.pk3 "$bspdir.old"/ || true
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:"