summaryrefslogtreecommitdiff
path: root/xmake/core/base/linuxos.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2024-12-31 23:03:18 +0800
committerGitHub <[email protected]>2024-12-31 23:03:18 +0800
commit686b414c97f5fae095676d06fbf62ddc3d0bb36f (patch)
tree046f89786c96bbe00060e8c8ad3ff434bab05d4d /xmake/core/base/linuxos.lua
parent6739b29e01de42b090efdd5470c0fd9bea4bf09b (diff)
parent87832f6b0234b8afefab57a13e5325a68e55c01e (diff)
Merge pull request #6022 from xmake-io/envs
Improve envs toolchain
Diffstat (limited to 'xmake/core/base/linuxos.lua')
-rw-r--r--xmake/core/base/linuxos.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/base/linuxos.lua b/xmake/core/base/linuxos.lua
index a397d95fe..46d3c010a 100644
--- a/xmake/core/base/linuxos.lua
+++ b/xmake/core/base/linuxos.lua
@@ -98,7 +98,7 @@ function linuxos.name()
elseif os_release:find("linux mint", 1, true) or os_release:find("linuxmint", 1, true) then
name = "linuxmint"
-- kylin contains keyword 'UBUNTU_CODENAME', so we check kylin before ubuntu
- elseif os_release:find("kylin", 1, true) then
+ elseif os_release:find("kylin", 1, true) then
name = "kylin"
elseif os_release:find("ubuntu", 1, true) then
name = "ubuntu"