diff options
| author | ruki <[email protected]> | 2020-03-20 22:36:46 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-03-20 09:40:39 +0800 |
| commit | 66a202c3c1dc599997579078e6d61647e7253a4e (patch) | |
| tree | a3a8003a54888da656fd1964c20f3fa9786df823 /xmake/actions/require/impl | |
| parent | b01bc45cfb6a2a2c8da72f3b6467605e4d4f259c (diff) | |
improve to download package
Diffstat (limited to 'xmake/actions/require/impl')
| -rw-r--r-- | xmake/actions/require/impl/action/download.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/actions/require/impl/action/download.lua b/xmake/actions/require/impl/action/download.lua index 81b9219c6..16e68eb20 100644 --- a/xmake/actions/require/impl/action/download.lua +++ b/xmake/actions/require/impl/action/download.lua @@ -72,7 +72,7 @@ end function _download(package, url, sourcedir, url_alias, url_excludes) -- get package file - local packagefile = path.filename(url) + local packagefile = package:name() .. "-" .. package:version_str() .. archive.extension(url) -- get sourcehash local sourcehash = package:sourcehash(url_alias) |
