diff options
| author | ruki <[email protected]> | 2023-05-12 14:21:40 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-05-12 14:21:40 +0800 |
| commit | cc343fcbf078ea5960aefa946c836f3d3fd4863c (patch) | |
| tree | 599bde7ec3643ecca25692b6efdc0f341fecb66f | |
| parent | d5c0136fbf90630404292087f618be19500db593 (diff) | |
| parent | adb3136632bf0874b841c84e06875232758b8371 (diff) | |
Merge pull request #3733 from xq114/dev
fix issue with existing working tmpdir
| -rw-r--r-- | xmake/modules/private/xrepo/action/env.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/modules/private/xrepo/action/env.lua b/xmake/modules/private/xrepo/action/env.lua index 0c547a1ed..4a092df54 100644 --- a/xmake/modules/private/xrepo/action/env.lua +++ b/xmake/modules/private/xrepo/action/env.lua @@ -105,6 +105,8 @@ function _enter_project() os.vrunv("xmake", {"create", "-P", "."}) else os.cd(workdir) + os.rm("*") + os.vrunv("xmake", {"create", "-P", "."}) end project.chdir(workdir) end |
