]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - misc/tools/xonotic-map-compiler-autobuild
fix a chdir bug
[xonotic/xonotic.git] / misc / tools / xonotic-map-compiler-autobuild
index 6e8b9802d0755f9adea6ad6b26c78fd45aae972c..86ecb4a37845684bc33414cc81ad2cd1cb16f48b 100755 (executable)
@@ -320,8 +320,9 @@ case "$1" in
                        fi
 
                        cd data/xonotic-maps.pk3dir
-
                        allmaps "$HASH" screenshotthemap "$REFNAME" "$url_http"
+                       cd ../..
+
                        touch "$screenshot_cachedir/$HASH"
                done
                git checkout -f master