]> git.xonotic.org Git - xonotic/xonotic.git/commitdiff
Remove some random slashes from the URLs.
authorRudolf Polzer <divVerent@gmail.com>
Mon, 31 Jan 2022 20:32:28 +0000 (12:32 -0800)
committerRudolf Polzer <divVerent@gmail.com>
Mon, 31 Jan 2022 20:32:28 +0000 (12:32 -0800)
misc/tools/xonotic-map-compiler-autobuild

index 0b5a162791283982826c329e60721535f6507232..13e9faa95329caeb608e488425d929d4a29e3401 100755 (executable)
@@ -272,10 +272,10 @@ screenshotthemap()
        ) 2>&1 | tee ~/.xonotic/data/autoscreenshot.log
        good=false
        if mv ~/.xonotic/data/screenshots "$M-$blobhash"; then
-               ss2spam "$M" "$url/$M-$blobhash/" "$REFNAME" "$commithash" 0 > ~/.xonotic/data/"$M.ircss"
+               ss2spam "$M" "$url$M-$blobhash/" "$REFNAME" "$commithash" 0 > ~/.xonotic/data/"$M.ircss"
        else
                mkdir "$M-$blobhash"
-               ss2spam "$M" "$url/$M-$blobhash/" "$REFNAME" "$commithash" 1 > ~/.xonotic/data/"$M.ircss"
+               ss2spam "$M" "$url$M-$blobhash/" "$REFNAME" "$commithash" 1 > ~/.xonotic/data/"$M.ircss"
        fi
        mv ~/.xonotic/data/"$M.ircss" "$M-$blobhash"/
        mv ~/.xonotic/data/autoscreenshot.log "$M-$blobhash"/