diff options
| -rw-r--r-- | xmake/core/base/os.lua | 4 |
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) |
