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 7fde8c93d1
commit 526d0e6f32
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 .. [["]];