diff options
| author | ruki <[email protected]> | 2024-11-23 18:56:53 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-11-23 18:56:53 +0800 |
| commit | a14bc8f69e6a25905cea3c7ca72774cccf34e074 (patch) | |
| tree | c9fdfbd971043410231b0b93dd96d6e9892cd252 /xmake/plugins/pack/batchcmds.lua | |
| parent | 27fc023a31d1472bdbdb9f4939415c5875b9481b (diff) | |
Update batchcmds.lua
Diffstat (limited to 'xmake/plugins/pack/batchcmds.lua')
| -rw-r--r-- | xmake/plugins/pack/batchcmds.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/plugins/pack/batchcmds.lua b/xmake/plugins/pack/batchcmds.lua index 1fa0704c7..4174b907e 100644 --- a/xmake/plugins/pack/batchcmds.lua +++ b/xmake/plugins/pack/batchcmds.lua @@ -183,14 +183,14 @@ function _install_target_files(target, batchcmds_, opt) local srcfiles, dstfiles = target:installfiles(_get_target_installdir(package, target)) if srcfiles and dstfiles then for idx, srcfile in ipairs(srcfiles) do - batchcmds_:cp(srcfile, dstfiles[idx], {symlink=true}) + batchcmds_:cp(srcfile, dstfiles[idx], {symlink = true}) end end for _, dep in ipairs(target:orderdeps()) do local srcfiles, dstfiles = dep:installfiles(_get_target_installdir(package, dep), {interface = true}) if srcfiles and dstfiles then for idx, srcfile in ipairs(srcfiles) do - batchcmds_:cp(srcfile, dstfiles[idx], {symlink=true}) + batchcmds_:cp(srcfile, dstfiles[idx], {symlink = true}) end end end @@ -564,7 +564,7 @@ end function _on_installcmd(package, batchcmds_) local srcfiles, dstfiles = package:installfiles() for idx, srcfile in ipairs(srcfiles) do - batchcmds_:cp(srcfile, dstfiles[idx], {symlink=true}) + batchcmds_:cp(srcfile, dstfiles[idx], {symlink = true}) end for _, target in ipairs(package:targets()) do _get_target_installcmds(target, batchcmds_, {package = package}) |
