diff options
| author | ruki <[email protected]> | 2021-06-05 22:41:28 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-06-05 22:41:28 +0800 |
| commit | a0415e9f57478d13e0639706f158c80f7b22cc98 (patch) | |
| tree | 99dcc36f1b25c28d6a72d988b4ba874ef102fe5f | |
| parent | cae8af6e28b3e98fc91e07d3e936067ac4f60d58 (diff) | |
improve to download resourcedir
| -rw-r--r-- | xmake/modules/private/action/require/impl/actions/download_resources.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/modules/private/action/require/impl/actions/download_resources.lua b/xmake/modules/private/action/require/impl/actions/download_resources.lua index c57b8c534..ffa303cde 100644 --- a/xmake/modules/private/action/require/impl/actions/download_resources.lua +++ b/xmake/modules/private/action/require/impl/actions/download_resources.lua @@ -55,6 +55,9 @@ function _checkout(package, resource_name, resource_url, resource_revision) return end + -- remove temporary directory + os.rm(resourcedir) + -- we need enable longpaths on windows local longpaths = package:policy("platform.longpaths") |
