diff options
| -rw-r--r-- | xmake/actions/update/main.lua | 4 | ||||
| -rw-r--r-- | xmake/modules/private/xrepo/action/env.lua | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/xmake/actions/update/main.lua b/xmake/actions/update/main.lua index 8df05c24b..b96dfe02b 100644 --- a/xmake/actions/update/main.lua +++ b/xmake/actions/update/main.lua @@ -149,10 +149,10 @@ function _uninstall() end else if os.programdir():startswith("/usr/") then - _sudo_v("xmake", {"lua", "rm", os.programdir() }) + _sudo_v("xmake", {"lua", "rm", os.programdir()}) for _, f in ipairs({"/usr/local/bin/xmake", "/usr/local/bin/xrepo", "/usr/bin/xmake", "/usr/bin/xrepo"}) do if os.isfile(f) then - _sudo_v("xmake", {"lua", "rm", f }) + _sudo_v("xmake", {"lua", "rm", f}) end end else diff --git a/xmake/modules/private/xrepo/action/env.lua b/xmake/modules/private/xrepo/action/env.lua index d0418ee90..2ab817587 100644 --- a/xmake/modules/private/xrepo/action/env.lua +++ b/xmake/modules/private/xrepo/action/env.lua @@ -472,7 +472,7 @@ function main() else local program = option.get("program") if program and program == "shell" then - utils.warning("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.") + 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() if program and not option.get("show") then |
