fix another wrong chdir
[xonotic/xonotic.git] / misc / tools / xonotic-map-compiler-autobuild
index 91626deaf0969682dab02b79efa36592ad7df49d..ebd10c303cf3fd2c4e8e7ef5cb7ee2b0046aed5d 100755 (executable)
@@ -338,7 +338,9 @@ case "$1" in
                runmakeindex
                ;;
        download)
+               cd data/xonotic-maps.pk3dir
                rundownload
+               cd ../..
                echo "List of maps that got deleted (if any) and currently are in $bspdir.old:"
                ls -l "$bspdir.old" || true
                ;;