]> git.rm.cloudns.org Git - xonotic/xonotic.git/commitdiff
also include an autoscreenshot engine log
authorRudolf Polzer <divverent@alientrap.org>
Sat, 21 Jan 2012 09:49:02 +0000 (10:49 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Sat, 21 Jan 2012 09:49:02 +0000 (10:49 +0100)
misc/tools/xonotic-map-compiler-autobuild

index aefafea128c1c49e4536105abe69359a433724bf..292909c5cd65f40bcdb3d598553b451cbf0bdfd1 100755 (executable)
@@ -237,7 +237,7 @@ screenshotthemap()
                                        ;;
                        esac
                fi
-       )
+       ) >~/.xonotic/autoscreenshot.log 2>&1
        if ! mv ~/.xonotic/data/screenshots "$M-$blobhash"; then
                if [ -n "$IRCSPAM" ]; then
                        #ss2spam "$M" "$url$M-$blobhash/" "$REFNAME" "$commithash" 1 > "maps/$M.ircss"
@@ -245,6 +245,7 @@ screenshotthemap()
                fi
                return 1
        fi
+       mv ~/.xonotic/autoscreenshot.log "$M-$blobhash"/ || true
        if [ -n "$IRCSPAM" ]; then
                #ss2spam "$M" "$url$M-$blobhash/" "$REFNAME" "$commithash" 0 > "maps/$M.ircss"
                ss2spam "$M" "$url?d" "$REFNAME" "$commithash" 0 > "maps/$M.ircss"