From 588b4f1e06c595ba47ba5d663e1ac5aa707f4f9a Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Tue, 5 Oct 2010 14:11:28 +0200 Subject: [PATCH] another chdir --- misc/tools/xonotic-map-compiler-autobuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.2