diff options
| author | ruki <[email protected]> | 2024-02-06 22:25:36 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-02-06 22:25:36 +0800 |
| commit | 8c92537300242e1705e522fe0e6a8087fe1f685c (patch) | |
| tree | 0b664d75e19ef4ff608189866b80ff6ce8c7075e /xmake/modules | |
| parent | 3a85ed00311f54942b7f87595dc05fc3e9041ba6 (diff) | |
check download tool
Diffstat (limited to 'xmake/modules')
| -rw-r--r-- | xmake/modules/net/http/download.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/modules/net/http/download.lua b/xmake/modules/net/http/download.lua index 038d3fb03..9ef9ec0a0 100644 --- a/xmake/modules/net/http/download.lua +++ b/xmake/modules/net/http/download.lua @@ -202,4 +202,6 @@ function main(url, outputfile, opt) if tool then return _wget_download(tool, url, outputfile, opt) end + + assert(tool, "curl or wget not found!") end |
