use a short URL
authorRudolf Polzer <divverent@alientrap.org>
Fri, 1 Oct 2010 22:11:21 +0000 (00:11 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Fri, 1 Oct 2010 22:11:21 +0000 (00:11 +0200)
misc/tools/xonotic-map-compiler-autobuild

index 19703c4769583dbe0427f652748280ab4e6aaea0..7df2394d09339f6af9ae193e69ac47eb97bfb7e6 100755 (executable)
@@ -198,12 +198,14 @@ screenshotthemap()
        )
        if ! mv ~/.xonotic/data/screenshots "$M-$blobhash"; then
                if [ -n "$IRCSPAM" ]; then
-                       ss2spam "$M" "$url$M-$blobhash/" "$REFNAME" "$HASH" 1 > "maps/$M.ircss"
+                       #ss2spam "$M" "$url$M-$blobhash/" "$REFNAME" "$HASH" 1 > "maps/$M.ircss"
+                       ss2spam "$M" "$url?d" "$REFNAME" "$HASH" 1 > "maps/$M.ircss"
                fi
                return 1
        fi
        if [ -n "$IRCSPAM" ]; then
-               ss2spam "$M" "$url$M-$blobhash/" "$REFNAME" "$HASH" 0 > "maps/$M.ircss"
+               #ss2spam "$M" "$url$M-$blobhash/" "$REFNAME" "$HASH" 0 > "maps/$M.ircss"
+               ss2spam "$M" "$url?d" "$REFNAME" "$HASH" 0 > "maps/$M.ircss"
        fi
        chmod 1777 "$M-$blobhash"
        ln -snf "../$M-$blobhash" "$M" # from ALL branches, so beware!