]> git.xonotic.org Git - xonotic/xonotic.git/commitdiff
ircspam: use maps/$M.log, not $M.log :P
authorRudolf Polzer <divVerent@alientrap.org>
Wed, 16 Jun 2010 10:55:51 +0000 (12:55 +0200)
committerRudolf Polzer <divVerent@alientrap.org>
Wed, 16 Jun 2010 10:55:51 +0000 (12:55 +0200)
misc/tools/xonotic-map-compiler-autobuild

index 96e07811e2ee3c16093871867a1e32e9cd14a916..7541885e0a904593e56a235307d163873191c761 100755 (executable)
@@ -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
 }