ircspam: use maps/$M.log, not $M.log :P

This commit is contained in:
Rudolf Polzer 2010-06-16 12:55:51 +02:00
parent 881b325ad8
commit d85a9b84b2

View File

@ -110,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
}