]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - misc/tools/xonotic-map-compiler-autobuild
also include an autoscreenshot engine log
[xonotic/xonotic.git] / 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"