another chdir

This commit is contained in:
Rudolf Polzer 2010-10-05 14:11:28 +02:00
parent 85161e7702
commit 588b4f1e06

View File

@ -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