diff options
| author | ruki <[email protected]> | 2020-12-16 00:43:02 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-12-16 00:43:02 +0800 |
| commit | 70f4c91f86f69d721f79744466627f67c75bb242 (patch) | |
| tree | 290cb3d57e20d73a4ea73f98922c758c997b633a | |
| parent | 11d5bb84486b5db5c425951f1ac493baa09c6b4f (diff) | |
fix extract bug
| -rw-r--r-- | xmake/modules/utils/archive/extract.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/utils/archive/extract.lua b/xmake/modules/utils/archive/extract.lua index d77111dcf..a89b0bb12 100644 --- a/xmake/modules/utils/archive/extract.lua +++ b/xmake/modules/utils/archive/extract.lua @@ -114,7 +114,7 @@ function _extract_using_7z(archivefile, outputdir, extension, opt) local excludesfile = nil if opt.excludes and not outputdir_old then excludesfile = os.tmpfile() - io.writefile(excludesfile, table.concat(opt.excludes, '\n')) + io.writefile(excludesfile, table.concat(table.wrap(opt.excludes), '\n')) table.insert(argv, "-xr@" .. excludesfile) end |
