figbux
authorRudolf Polzer <divVerent@xonotic.org>
Wed, 29 Sep 2010 12:54:25 +0000 (14:54 +0200)
committerRudolf Polzer <divVerent@xonotic.org>
Wed, 29 Sep 2010 12:54:25 +0000 (14:54 +0200)
misc/tools/xonotic-map-compiler-autobuild

index 7e2af9395b28dc4b73aedbf1320f9012cd0f549c..1c8b8d681043125e7f8a22603e1d41d1586c84dc 100755 (executable)
@@ -189,7 +189,8 @@ screenshotthemap()
        fi
        rm -rf ~/.xonotic
        (
        fi
        rm -rf ~/.xonotic
        (
-               ../../misc/tools/xonotic-map-screenshot "$M" $screenshot_override +scr_screenshot_name "$M"
+               cd ../..
+               misc/tools/xonotic-map-screenshot "$M" $screenshot_override +scr_screenshot_name "$M"
        )
        if ! mv ~/.xonotic/data/screenshots "$M-$blobhash"; then
                if [ -n "$IRCSPAM" ]; then
        )
        if ! mv ~/.xonotic/data/screenshots "$M-$blobhash"; then
                if [ -n "$IRCSPAM" ]; then