From 966bd543565beb00c36e4cd1ecaf4aac3b24c7ea Mon Sep 17 00:00:00 2001 From: Adam Harrison Date: Tue, 27 Jun 2023 10:46:24 -0400 Subject: Fixed a bug on windows. --- src/lpm.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) -- cgit v1.2.3