summaryrefslogtreecommitdiff
path: root/xmake/core/base/os.lua
diff options
context:
space:
mode:
authorOpportunityLiu <[email protected]>2019-07-24 10:42:55 +0800
committerOpportunityLiu <[email protected]>2019-07-24 10:42:55 +0800
commitb1a47544b8f60c12541b8b5a0f4383639d348af3 (patch)
treeea52bf2d354a9d04405ef1fadf1d45b82f5a90af /xmake/core/base/os.lua
parentae7d6509749944564b939bd36cf6ab895dcff0af (diff)
fix typo
Diffstat (limited to 'xmake/core/base/os.lua')
-rw-r--r--xmake/core/base/os.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/core/base/os.lua b/xmake/core/base/os.lua
index b8d767efd..57353d4d8 100644
--- a/xmake/core/base/os.lua
+++ b/xmake/core/base/os.lua
@@ -296,7 +296,7 @@ end
-- match directories
--
--- @note only return {} without count to simplify code, .e.g unpack(os.dirs(""))
+-- @note only return {} without count to simplify code, e.g. unpack(os.dirs(""))
--
function os.dirs(pattern, callback)
return (os.match(pattern, 'd', callback))
@@ -582,7 +582,7 @@ end
-- @param program "clang", "xcrun -sdk macosx clang", "~/dir/test\ xxx/clang"
-- filename "clang", "xcrun"", "~/dir/test\ xxx/clang"
-- @param argv the arguments
--- @param opt the options, .e.g {wildcards = false, stdout = outfile, stderr = errfile,
+-- @param opt the options, e.g. {wildcards = false, stdout = outfile, stderr = errfile,
-- envs = {PATH = "xxx;xx", CFLAGS = "xx"}}
--
function os.execv(program, argv, opt)
@@ -603,7 +603,7 @@ function os.execv(program, argv, opt)
local filename = program
if not os.isexec(program) then
- -- parse the filename and arguments, .e.g "xcrun -sdk macosx clang"
+ -- parse the filename and arguments, e.g. "xcrun -sdk macosx clang"
local splitinfo = program:split("%s")
filename = splitinfo[1]
if #splitinfo > 1 then