mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-04 18:53:49 +00:00
Update the lua scripts to use the new mkdir function.
This commit is contained in:
@@ -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 .. [["]];
|
||||
|
||||
Reference in New Issue
Block a user