diff options
| author | ruki <[email protected]> | 2017-02-08 22:11:42 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-02-08 22:11:42 +0800 |
| commit | f5571dea410131991ae7f836cc6a52d82890d894 (patch) | |
| tree | 1da5045f7df779ec47016fc8861fac8aae754f77 /xmake/plugins/lua/scripts/mv.lua | |
| parent | f717d2da6d60566cfe84737950b311b4d7af9275 (diff) | |
improve os.rm and os.rmdir
Diffstat (limited to 'xmake/plugins/lua/scripts/mv.lua')
| -rw-r--r-- | xmake/plugins/lua/scripts/mv.lua | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/xmake/plugins/lua/scripts/mv.lua b/xmake/plugins/lua/scripts/mv.lua index d00f95750..9b5c35973 100644 --- a/xmake/plugins/lua/scripts/mv.lua +++ b/xmake/plugins/lua/scripts/mv.lua @@ -24,11 +24,6 @@ -- main function mv.main(...) - - -- mv it - local pathes = ... - if pathes and table.getn(pathes) == 2 then - os.mv(pathes[1], pathes[2]) - end + os.mv(...) end |
