summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src/main.lua
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/src/main.lua')
-rw-r--r--scripts/src/main.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/src/main.lua b/scripts/src/main.lua
index 075f850a95f..a4bb6d3eab6 100644
--- a/scripts/src/main.lua
+++ b/scripts/src/main.lua
@@ -413,9 +413,9 @@ if (STANDALONE~=true) then
configuration { "vs*" }
prebuildcommands {
- "mkdir " .. path.translate(GEN_DIR .. "resource/","\\") .. " 2>NUL",
+ "mkdir \"" .. path.translate(GEN_DIR .. "resource/","\\") .. "\" 2>NUL",
"@echo Emitting ".. rctarget .. "vers.rc...",
- PYTHON .. " " .. path.translate(MAME_DIR .. "scripts/build/verinfo.py","\\") .. " -r -b " .. rctarget .. " " .. path.translate(GEN_DIR .. "version.cpp","\\") .. " > " .. path.translate(GEN_DIR .. "resource/" .. rctarget .. "vers.rc", "\\") ,
+ PYTHON .. " \"" .. path.translate(MAME_DIR .. "scripts/build/verinfo.py","\\") .. "\" -r -b " .. rctarget .. " \"" .. path.translate(GEN_DIR .. "version.cpp","\\") .. "\" > \"" .. path.translate(GEN_DIR .. "resource/" .. rctarget .. "vers.rc", "\\") .. "\"" ,
}
end