summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2025-01-28 00:46:54 +0800
committerruki <[email protected]>2025-01-28 00:46:54 +0800
commit56162130cb62ff02fe27a9978efc687934673a5f (patch)
treed63e8c8429271f7496402bea07b393dbff9812a8
parentdb69821b735f01169729c278e409ed2ab81d0b92 (diff)
improve tips
-rw-r--r--xmake/modules/private/action/require/impl/actions/download.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/private/action/require/impl/actions/download.lua b/xmake/modules/private/action/require/impl/actions/download.lua
index dca9d7545..47a8bf124 100644
--- a/xmake/modules/private/action/require/impl/actions/download.lua
+++ b/xmake/modules/private/action/require/impl/actions/download.lua
@@ -241,7 +241,7 @@ function _download(package, url, sourcedir, opt)
-- create an empty source directory if do not extract package file
os.tryrm(sourcedir)
os.mkdir(sourcedir)
- raise("cannot extract %s, maybe missing extractor or invalid package file!", packagefile)
+ raise("cannot extract %s, maybe extractors(like unzip, ...) are not found!", packagefile)
else
-- if it is not archive file, we only need to create empty source directory and use package:originfile()
os.tryrm(sourcedir)