diff options
-rw-r--r-- | src/lpm.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lpm.lua b/src/lpm.lua index c0690ae..f5f2824 100644 --- a/src/lpm.lua +++ b/src/lpm.lua @@ -1148,7 +1148,7 @@ function Repository:fetch() self.manifest = nil end if temporary_path then - common.mkdirp(path) + common.mkdirp(common.dirname(path)) common.rename(temporary_path, path) end end) |