]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - misc/tools/xonotic-map-compiler-autobuild
autobuild fixes
[xonotic/xonotic.git] / misc / tools / xonotic-map-compiler-autobuild
index 668363650969d147f96b4e25e78d7c4068c3aa34..1e81237a0337e3598410957427dc76202ec4ed1a 100755 (executable)
@@ -4,6 +4,8 @@ bspdir="$PWD/bspfiles"
 mkdir -p "$bspdir"
 cd data/xonotic-maps.pk3dir
 git for-each-ref 'refs/remotes' | while read -r HASH TYPE REFNAME; do
+       git reset --hard
+       git clean -xfd
        git checkout "$HASH"
        for F in maps/*.map.options; do
                if ! [ -f "$F" ]; then