summaryrefslogtreecommitdiff
path: root/xmake/core/base/os.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2026-03-23 23:54:20 +0800
committerruki <[email protected]>2026-03-23 23:54:20 +0800
commit7bf56c079214f65d5de92e4bd2cc58d969694477 (patch)
tree9948e70666bea83d1f112f80a23e8c7a1f8a9d92 /xmake/core/base/os.lua
parent9659e157cd39571cfdd264ce8a2743b9a99175dc (diff)
fix some typos
Diffstat (limited to 'xmake/core/base/os.lua')
-rw-r--r--xmake/core/base/os.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/base/os.lua b/xmake/core/base/os.lua
index 1766d28f5..142ddd338 100644
--- a/xmake/core/base/os.lua
+++ b/xmake/core/base/os.lua
@@ -1537,7 +1537,7 @@ function os.addenv(name, ...)
end
end
--- set values to environment variable with the given seperator
+-- set values to environment variable with the given separator
function os.setenvp(name, values, sep)
sep = sep or path.envsep()
local ok = os._setenv(name, table.concat(table.wrap(values), sep))
@@ -1547,7 +1547,7 @@ function os.setenvp(name, values, sep)
return ok
end
--- add values to environment variable with the given seperator
+-- add values to environment variable with the given separator
function os.addenvp(name, values, sep)
sep = sep or path.envsep()
values = table.wrap(values)