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