summaryrefslogtreecommitdiff
path: root/xmake/core/base/path.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/path.lua
parent9659e157cd39571cfdd264ce8a2743b9a99175dc (diff)
fix some typos
Diffstat (limited to 'xmake/core/base/path.lua')
-rw-r--r--xmake/core/base/path.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/core/base/path.lua b/xmake/core/base/path.lua
index 9dc2ecd7d..5af6daec9 100644
--- a/xmake/core/base/path.lua
+++ b/xmake/core/base/path.lua
@@ -299,7 +299,7 @@ function path.split(p)
return p:split("[/\\]")
end
--- get the path seperator
+-- get the path separator
function path.sep()
local sep = path._SEP
if not sep then
@@ -309,7 +309,7 @@ function path.sep()
return sep
end
--- get the path seperator of environment variable
+-- get the path separator of environment variable
function path.envsep()
local envsep = path._ENVSEP
if not envsep then
@@ -379,7 +379,7 @@ function path.joinenv(paths, envsep)
end
end
--- the last character is the path seperator?
+-- the last character is the path separator?
function path.islastsep(p)
p = tostring(p)
local sep = p:sub(#p, #p)