more chdir
[xonotic/xonotic.git] / misc / tools / xonotic-map-compiler-autobuild
index 3208eb3aa0a52b88d281788e241b505c3fa493c9..d19e79cde6f6f13950d46d865dde65c1ff54e6bd 100755 (executable)
@@ -324,9 +324,7 @@ case "$1" in
                                continue
                        fi
 
-                       cd data/xonotic-maps.pk3dir
                        allmaps "$HASH" screenshotthemap "$REFNAME" "$url_http"
-                       cd ../..
 
                        touch "$screenshot_cachedir/$HASH"
                done