ferron

Ferron is a fast and simple static website generator made with Lua.
Log | Files | Refs | Submodules | README | LICENSE

commit 29e48e9aef089b62cf2bc83c6a2d9160ac2b62f9
parent d98948920f7efcdff8c128ba1c930593195f8eb4
Author: Hugo Soucy <hugo.soucy@toumoro.com>
Date:   Wed,  9 Oct 2019 21:27:18 -0400

Fix the mkdir bug

Diffstat:
Mferron/utilities/file-utils.lua | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ferron/utilities/file-utils.lua b/ferron/utilities/file-utils.lua @@ -140,7 +140,7 @@ function fileutils.mkdir(path) for dir in path:gmatch('[^' .. sep .. ']+') do pStr = pStr .. sep .. dir - lfs.mkdir(pStr) + lfs.mkdir(lfs.currentdir() .. pStr) end end