summaryrefslogtreecommitdiff
path: root/xmake/core/base/linuxos.lua
diff options
context:
space:
mode:
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"