Suppress mkdir warning on Windows if folder exists

This commit is contained in:
Aleksi Juvani 2017-06-13 16:00:10 +03:00
parent 1cddb0dffa
commit 51a77ad34c

View File

@ -599,7 +599,8 @@
return "echo " .. v
end,
mkdir = function(v)
return "mkdir " .. path.translate(path.normalize(v))
v = path.translate(path.normalize(v))
return "IF NOT EXIST " .. v .. " (mkdir " .. v .. ")"
end,
move = function(v)
return "move /Y " .. path.translate(path.normalize(v))