diff options
| author | xq114 <[email protected]> | 2023-03-15 17:51:15 +0800 |
|---|---|---|
| committer | xq114 <[email protected]> | 2023-03-15 17:51:15 +0800 |
| commit | c255e1fef113cea950adaac8237cfa4793274d51 (patch) | |
| tree | 843f465fe5456a9375deae7d1dbd98f7bc87d6bd | |
| parent | 01f609b7044a43206d1a05aaa1bdc318116ffad7 (diff) | |
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() |
