From f5571dea410131991ae7f836cc6a52d82890d894 Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 8 Feb 2017 22:11:42 +0800 Subject: improve os.rm and os.rmdir --- xmake/plugins/lua/scripts/mv.lua | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'xmake/plugins/lua/scripts/mv.lua') 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 -- cgit v1.3.1