From eceee6a9d0f2f76e1b8cae374dbfbc1bacbc7389 Mon Sep 17 00:00:00 2001 From: ruki Date: Mon, 17 Sep 2018 23:25:57 +0800 Subject: fix some typos --- xmake/core/base/os.lua | 4 ++-- 1 file 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) -- cgit v1.3.1