From: Rudolf Polzer Date: Tue, 5 Oct 2010 12:11:28 +0000 (+0200) Subject: another chdir X-Git-Tag: xonotic-v0.1.0preview~143 X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fxonotic.git;a=commitdiff_plain;h=588b4f1e06c595ba47ba5d663e1ac5aa707f4f9a another chdir --- diff --git a/misc/tools/xonotic-map-compiler-autobuild b/misc/tools/xonotic-map-compiler-autobuild index 86ecb4a3..23c7dca5 100755 --- a/misc/tools/xonotic-map-compiler-autobuild +++ b/misc/tools/xonotic-map-compiler-autobuild @@ -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