Skip to content

Commit

Permalink
Merge pull request #5964 from xmake-io/nsis
Browse files Browse the repository at this point in the history
fix nsis #5952
  • Loading branch information
waruqi authored Dec 13, 2024
2 parents 5aebd42 + 6db0435 commit 4e7d3dd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions xmake/plugins/pack/batchcmds.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 4e7d3dd

Please sign in to comment.