]> de.git.xonotic.org Git - xonotic/xonotic.git/commitdiff
another chdir
authorRudolf Polzer <divverent@alientrap.org>
Tue, 5 Oct 2010 12:11:28 +0000 (14:11 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Tue, 5 Oct 2010 12:11:28 +0000 (14:11 +0200)
misc/tools/xonotic-map-compiler-autobuild

index 86ecb4a37845684bc33414cc81ad2cd1cb16f48b..23c7dca547a7ace6dfcd407b6dd0a47d694d3a6a 100755 (executable)
@@ -290,6 +290,7 @@ runmakeindex()
        branches | while read -r HASH TYPE REFNAME; do
                allmaps "$HASH" indexthemap "$REFNAME"
        done
+       cd ../..
 }
 
 case "$1" in
@@ -305,10 +306,10 @@ case "$1" in
                git checkout -f master
                ;;
        screenshot)
-               cd data/xonotic-maps.pk3dir
                runmakeindex > branches.idx.new
                rsync -vaSHP "$branches.idx.new" "$url_ssh""branches.idx.new"
                rm -f branches.idx.new
+               cd data/xonotic-maps.pk3dir
                branches | while read -r HASH TYPE REFNAME; do
                        if [ -f "$screenshot_cachedir/$HASH" ]; then
                                continue