]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - misc/tools/xonotic-map-compiler-autobuild
prefix the file name better
[xonotic/xonotic.git] / misc / tools / xonotic-map-compiler-autobuild
index 1c8b8d681043125e7f8a22603e1d41d1586c84dc..313e4d67d01b5275c1f17baa8d821d6572fecc2b 100755 (executable)
@@ -190,7 +190,7 @@ screenshotthemap()
        rm -rf ~/.xonotic
        (
                cd ../..
-               misc/tools/xonotic-map-screenshot "$M" $screenshot_override +scr_screenshot_name "$M"
+               misc/tools/xonotic-map-screenshot "$M" $screenshot_override +"scr_screenshot_name \"$M-\""
        )
        if ! mv ~/.xonotic/data/screenshots "$M-$blobhash"; then
                if [ -n "$IRCSPAM" ]; then