]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - misc/tools/xonotic-map-compiler-autobuild
ircspam: use maps/$M.log, not $M.log :P
[xonotic/xonotic.git] / misc / tools / xonotic-map-compiler-autobuild
index f2dadd7514b2d16770f28290930b68aeb9aa8106..7541885e0a904593e56a235307d163873191c761 100755 (executable)
@@ -65,6 +65,7 @@ log2spam()
                                ;;
                esac
        done
+       s_failshaders=`echo "$s_failshaders" | sed "s, textures/, ,g"`
        s_failshaders=${s_failshaders# }
        if [ -n "$s_error" ]; then
                echo -n "[$branch] \ 34failed"
@@ -109,7 +110,7 @@ buildthemap()
        zip -9r "$bspdir/$M-$blobhash.pk3" "maps/$M.bsp" "maps/$M.log" "maps/$M/" "maps/$M.lin" "gfx/${M}_mini.tga"
        ln -snf "../$M-$blobhash.pk3" "$bspdir/latest/$M.pk3" # from ALL branches, so beware!
        if [ -n "$IRCSPAM" ]; then
-               cat "$M.log" | log2spam "$M" "$url/$M-$blobhash.pk3" "$REFNAME" "$HASH" | $IRCSPAM
+               cat "maps/$M.log" | log2spam "$M" "$url/$M-$blobhash.pk3" "$REFNAME" "$HASH" | $IRCSPAM
        fi
 }