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

index 6e8b9802d0755f9adea6ad6b26c78fd45aae972c..86ecb4a37845684bc33414cc81ad2cd1cb16f48b 100755 (executable)
@@ -320,8 +320,9 @@ case "$1" in
                        fi
 
                        cd data/xonotic-maps.pk3dir
                        fi
 
                        cd data/xonotic-maps.pk3dir
-
                        allmaps "$HASH" screenshotthemap "$REFNAME" "$url_http"
                        allmaps "$HASH" screenshotthemap "$REFNAME" "$url_http"
+                       cd ../..
+
                        touch "$screenshot_cachedir/$HASH"
                done
                git checkout -f master
                        touch "$screenshot_cachedir/$HASH"
                done
                git checkout -f master