summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2018-09-17 23:25:57 +0800
committerruki <[email protected]>2018-09-17 14:35:46 +0800
commiteceee6a9d0f2f76e1b8cae374dbfbc1bacbc7389 (patch)
tree821eb2ae9269ba9b56aada7d45ec71d811fa9e5b
parentc245cea7fa908d0cde712e9f009b125aa814b2be (diff)
fix some typos
-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 d699d8fa6..3a134f7ed 100644
--- a/xmake/core/base/os.lua
+++ b/xmake/core/base/os.lua
@@ -357,7 +357,7 @@ function os.mv(...)
-- get destinate path
local dstpath = args[#args]
- -- copy files or directories
+ -- move files or directories
for _, srcpath in ipairs(os.argw(srcpathes)) do
local ok, errors = os._mv(srcpath, dstpath)
if not ok then
@@ -378,7 +378,7 @@ function os.rm(...)
return false, string.format("invalid arguments: %s", table.concat(args, ' '))
end
- -- create directories
+ -- remove directories
for _, filedir in ipairs(os.argw(args)) do
if not os._rm(filedir) then
return false, string.format("remove: %s failed!", filedir)