diff options
| author | ruki <[email protected]> | 2022-07-09 00:51:51 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-07-09 00:51:51 +0800 |
| commit | 78030eb5d15cfd5ce0c3b2a651a610aaf33f147d (patch) | |
| tree | 71b254f7179df41df94f2afa7269ff1c366e362e | |
| parent | e8911871580e32e4b782c2bc98ed15248839916f (diff) | |
fix xrepo env
| -rw-r--r-- | xmake/modules/private/xrepo/action/env.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/private/xrepo/action/env.lua b/xmake/modules/private/xrepo/action/env.lua index 2ab817587..fc9fcf4c0 100644 --- a/xmake/modules/private/xrepo/action/env.lua +++ b/xmake/modules/private/xrepo/action/env.lua @@ -309,7 +309,7 @@ function _package_getenvs(opt) _enter_project({enteronly = true}) table.insert(project.rcfiles(), boundenv) end - task.run("config", {target = "all"}, {disable_dump = true}) + task.run("config", {}, {disable_dump = true}) _toolchain_addenvs(envs) local requires, requires_extra = get_requires() for _, instance in ipairs(package.load_packages(requires, {requires_extra = requires_extra})) do @@ -393,7 +393,7 @@ function info(key, bnd) _enter_project({enteronly = true}) table.insert(project.rcfiles(), boundenv) end - task.run("config", {target = "all"}, {disable_dump = true}) + task.run("config", {}, {disable_dump = true}) end elseif key:startswith("script.") then local shell = key:match("script%.(.+)") |
