aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/luarocks/fs/win32/tools.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luarocks/fs/win32/tools.lua b/src/luarocks/fs/win32/tools.lua
index 6960ab35..7bb69d9e 100644
--- a/src/luarocks/fs/win32/tools.lua
+++ b/src/luarocks/fs/win32/tools.lua
@@ -107,7 +107,7 @@ end
107-- @return boolean: true on success, false on failure. 107-- @return boolean: true on success, false on failure.
108function make_dir(directory) 108function make_dir(directory)
109 assert(directory) 109 assert(directory)
110 fs.execute(fs.quiet(vars.MKDIR.." "..fs.Q(directory))) 110 fs.execute(fs.quiet(vars.MKDIR.." -p "..fs.Q(directory)))
111 if not fs.is_dir(directory) then 111 if not fs.is_dir(directory) then
112 return false, "failed making directory "..directory 112 return false, "failed making directory "..directory
113 end 113 end