Skip to content

Commit

Permalink
Look for alternative implementations of 7zip, like autoconf did
Browse files Browse the repository at this point in the history
Fixes a regression from the cmake transition where we'd just assume 7zip
as the name of the executable when previously we looked through 7zip,
7za and 7a. Resume the former behavior.

Fixes: rpm-software-management#2608
  • Loading branch information
pmatilai committed Aug 14, 2023
1 parent d16dafb commit 4b61b24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ function(makemacros)
set(rundir /run)
set(root_prefix /usr)

findutil(__7ZIP 7zip)
findutil(__7ZIP "7zip;7za;7z")
findutil(__BZIP2 bzip2)
findutil(__CAT cat)
findutil(__CHMOD chmod)
Expand Down

0 comments on commit 4b61b24

Please sign in to comment.