diff options
| author | ruki <[email protected]> | 2023-11-21 22:50:13 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-11-21 22:50:13 +0800 |
| commit | c445254e918e5091c641832c687d5b7857be0949 (patch) | |
| tree | 082a34a3aefc070d53fc8738374d61f9a5f6fcc1 /core/xpack.lua | |
| parent | ed37d615b47d49362cf7771d6a3b483ba82adafd (diff) | |
fix makeppa
Diffstat (limited to 'core/xpack.lua')
| -rw-r--r-- | core/xpack.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/xpack.lua b/core/xpack.lua index fb9c50264..07e77c1ca 100644 --- a/core/xpack.lua +++ b/core/xpack.lua @@ -89,6 +89,7 @@ xpack("xmakesrc") local srcdir = path.join(package:rootdir(), "xmakesrc") local topdir = path.join(srcdir, "xmake-" .. package:version()) os.tryrm(repodir) + os.tryrm(topdir) os.cp(path.directory(path.absolute(os.projectdir())), repodir) git.clean({repodir = repodir, force = true, all = true}) git.reset({repodir = repodir, hard = true}) |
