diff options
| -rw-r--r-- | xmake/modules/utils/archive/archive.lua | 2 | ||||
| -rw-r--r-- | xmake/modules/utils/archive/extract.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/utils/archive/archive.lua b/xmake/modules/utils/archive/archive.lua index 804229638..5d24c506d 100644 --- a/xmake/modules/utils/archive/archive.lua +++ b/xmake/modules/utils/archive/archive.lua @@ -306,7 +306,7 @@ function _archive(archivefile, inputfiles, extension, archivers, opt) return true end end - raise("cannot archive %s, %s!", path.filename(archivefile), errors or "archivers not found!") + raise("cannot archive %s, %s!", path.filename(archivefile), errors or "no archiver found") end -- only archive tar file diff --git a/xmake/modules/utils/archive/extract.lua b/xmake/modules/utils/archive/extract.lua index 7fd936041..196e32d67 100644 --- a/xmake/modules/utils/archive/extract.lua +++ b/xmake/modules/utils/archive/extract.lua @@ -446,7 +446,7 @@ function _extract(archivefile, outputdir, extension, extractors, opt) return true end end - raise("cannot extract %s, %s!", path.filename(archivefile), errors or "extractors not found!") + raise("cannot extract %s, %s!", path.filename(archivefile), errors or "no extractor found") end -- extract file |
