Update the lua scripts to use the new mkdir function.

This commit is contained in:
Mark Crane
2013-04-12 18:46:02 +00:00
parent d747bc4542
commit 90711f34bc
8 changed files with 15 additions and 14 deletions

View File

@@ -1,7 +1,7 @@
--add the mkdir function
function mkdir(dir)
dir = dir:gsub("\\", "/");
dir = dir:gsub([[\]], "/");
if (package.config:sub(1,1) == "/") then
--unix
cmd = [[mkdir -p "]] .. dir .. [["]];