Skip to content

Commit 09afee7

Browse files
committed
Fix call to make directory
1 parent 822b317 commit 09afee7

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

lua/cmake-tools/scanner.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,10 @@ function scanner.find_compiler_pair(dir, c_compiler)
108108
end
109109

110110
function scanner.ensure_directory(path)
111-
local lfs = require("lfs")
112111
local pattern = "(.*/)"
113112
local dir = path:match(pattern)
114113
if dir then
115-
lfs.mkdir(dir)
114+
os.execute('mkdir -p "' .. dir .. '"')
116115
end
117116
end
118117

0 commit comments

Comments
 (0)