diff options
| author | ruki <[email protected]> | 2023-03-16 09:54:56 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-03-16 09:54:56 +0800 |
| commit | 49314f129111b1c8cfa6c3972afa5c5491cf8964 (patch) | |
| tree | ffb2510bedb2a14390d5d0b54a93dfd76ed82466 | |
| parent | b2acc71b278a95d6a6e57861fe482f64d6238bc9 (diff) | |
| parent | c255e1fef113cea950adaac8237cfa4793274d51 (diff) | |
Merge pull request #3509 from xq114/dev
fix env.lua warning
| -rw-r--r-- | xmake/modules/private/xrepo/action/env.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/private/xrepo/action/env.lua b/xmake/modules/private/xrepo/action/env.lua index fbe7dce7f..0c547a1ed 100644 --- a/xmake/modules/private/xrepo/action/env.lua +++ b/xmake/modules/private/xrepo/action/env.lua @@ -438,7 +438,7 @@ function main() os.rm(path.join(_get_envsdir(), envname .. ".lua")) else local program = option.get("program") - if program and program == "shell" and is_subhost("windows") then + if program and program == "shell" and not is_subhost("windows") then wprint("The shell was not integrated with xmake. Some features might be missing. Please switch to your default shell, and run `xmake update --integrate` to integrate the shell.") end local envs = _package_getenvs() |
