Move the includes/install to resources/install

This commit is contained in:
Mark Crane
2013-06-09 02:42:36 +00:00
parent 0407ee236d
commit 896fdb37b2
203 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
--add the mkdir function
function mkdir(dir)
dir = dir:gsub([[\]], "/");
if (package.config:sub(1,1) == "/") then
--unix
cmd = [[mkdir -p "]] .. dir .. [["]];
elseif (package.config:sub(1,1) == [[\]]) then
--windows
cmd = [[mkdir "]] .. dir .. [["]];
end
os.execute(cmd);
return cmd;
end