diff options
| author | ruki <[email protected]> | 2021-08-10 23:19:09 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-08-10 23:19:09 +0800 |
| commit | 19dced6cce6982590d18250bfd876dc8691c0ddb (patch) | |
| tree | 9c243376e27294c1ea162594ebe321c9d5489a3d /xmake/modules/private/utils/batchcmds.lua | |
| parent | facf6f5b7be2266ca86015cafab3fe787cc18f94 (diff) | |
fix batchcmds
Diffstat (limited to 'xmake/modules/private/utils/batchcmds.lua')
| -rw-r--r-- | xmake/modules/private/utils/batchcmds.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/modules/private/utils/batchcmds.lua b/xmake/modules/private/utils/batchcmds.lua index 371735321..946135a87 100644 --- a/xmake/modules/private/utils/batchcmds.lua +++ b/xmake/modules/private/utils/batchcmds.lua @@ -128,21 +128,21 @@ end -- run command: os.cp function _runcmd_cp(cmd, opt) if not opt.dryrun then - os.cp(opt.srcpath, opt.dstpath, opt.opt) + os.cp(cmd.srcpath, cmd.dstpath, opt.opt) end end -- run command: os.mv function _runcmd_mv(cmd, opt) if not opt.dryrun then - os.mv(opt.srcpath, opt.dstpath, opt.opt) + os.mv(cmd.srcpath, cmd.dstpath, opt.opt) end end -- run command: os.ln function _runcmd_ln(cmd, opt) if not opt.dryrun then - os.ln(opt.srcpath, opt.dstpath, opt.opt) + os.ln(cmd.srcpath, cmd.dstpath, opt.opt) end end |
