diff options
| author | ruki <[email protected]> | 2024-12-14 00:02:01 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-12-14 00:02:01 +0800 |
| commit | 6db0435c38bff1c2427a48dbadc71b7e860b72da (patch) | |
| tree | 8be27a1f0f733b2806bc871d65def9f494dae7dd /xmake/plugins/pack/batchcmds.lua | |
| parent | 5aebd42c04b26f00f90a0678bbc4e69692f6f1bd (diff) | |
fix nsis #5952
Diffstat (limited to 'xmake/plugins/pack/batchcmds.lua')
| -rw-r--r-- | xmake/plugins/pack/batchcmds.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xmake/plugins/pack/batchcmds.lua b/xmake/plugins/pack/batchcmds.lua index 4174b907e..9ed38e970 100644 --- a/xmake/plugins/pack/batchcmds.lua +++ b/xmake/plugins/pack/batchcmds.lua @@ -227,7 +227,6 @@ function _install_target_shared_libraries(target, batchcmds_, opt) -- do install for _, libfile in ipairs(libfiles) do - local filename = path.filename(libfile) _copy_file_with_symlinks(batchcmds_, libfile, bindir) end end @@ -275,7 +274,7 @@ function _uninstall_target_shared_libraries(target, batchcmds_, opt) -- do uninstall for _, libfile in ipairs(libfiles) do local filename = path.filename(libfile) - batchcmds_:rm(libfile, path.join(bindir, filename), {emptydirs = true}) + batchcmds_:rm(path.join(bindir, filename), {emptydirs = true}) end end |
