From: Rudolf Polzer <divVerent@xonotic.org>
Date: Wed, 29 Sep 2010 13:00:06 +0000 (+0200)
Subject: prefix the file name better
X-Git-Tag: xonotic-v0.1.0preview~178
X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=14a489aaa53442d0aaaaa6924f73f8ce7a6e6496;p=xonotic%2Fxonotic.git

prefix the file name better
---

diff --git a/misc/tools/xonotic-map-compiler-autobuild b/misc/tools/xonotic-map-compiler-autobuild
index 1c8b8d68..313e4d67 100755
--- a/misc/tools/xonotic-map-compiler-autobuild
+++ b/misc/tools/xonotic-map-compiler-autobuild
@@ -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