diff options
| author | ruki <[email protected]> | 2024-12-13 19:11:12 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-12-13 19:11:12 +0800 |
| commit | 4e7d3ddc9b5281c1be881e1a855b478bf20ef19b (patch) | |
| tree | 8be27a1f0f733b2806bc871d65def9f494dae7dd | |
| parent | 5aebd42c04b26f00f90a0678bbc4e69692f6f1bd (diff) | |
| parent | 6db0435c38bff1c2427a48dbadc71b7e860b72da (diff) | |
Merge pull request #5964 from xmake-io/nsis
fix nsis #5952
| -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 |
