Panu Matilainen 033b63
From f9775b454e1969a8d5c8d8b7435817876ed79482 Mon Sep 17 00:00:00 2001
Panu Matilainen 033b63
Message-ID: <f9775b454e1969a8d5c8d8b7435817876ed79482.1692703597.git.pmatilai@redhat.com>
Panu Matilainen 033b63
In-Reply-To: <bbb289e303d8c72b9e35410e593b8d92b006bec1.1692703597.git.pmatilai@redhat.com>
Panu Matilainen 033b63
References: <bbb289e303d8c72b9e35410e593b8d92b006bec1.1692703597.git.pmatilai@redhat.com>
Panu Matilainen 033b63
From: Panu Matilainen <pmatilai@redhat.com>
Panu Matilainen 033b63
Date: Mon, 14 Aug 2023 12:31:06 +0300
Panu Matilainen 033b63
Subject: [PATCH 2/3] Look for alternative implementations of 7zip, like
Panu Matilainen 033b63
 autoconf did
Panu Matilainen 033b63
Panu Matilainen 033b63
Fixes a regression from the cmake transition where we'd just assume 7zip
Panu Matilainen 033b63
as the name of the executable when previously we looked through 7zip,
Panu Matilainen 033b63
7za and 7a. Resume the former behavior.
Panu Matilainen 033b63
Panu Matilainen 033b63
Fixes: #2608
Panu Matilainen 033b63
---
Panu Matilainen 033b63
 CMakeLists.txt | 2 +-
Panu Matilainen 033b63
 1 file changed, 1 insertion(+), 1 deletion(-)
Panu Matilainen 033b63
Panu Matilainen 033b63
diff --git a/CMakeLists.txt b/CMakeLists.txt
Panu Matilainen 033b63
index 30f413028..55c1d2169 100644
Panu Matilainen 033b63
--- a/CMakeLists.txt
Panu Matilainen 033b63
+++ b/CMakeLists.txt
Panu Matilainen 033b63
@@ -88,7 +88,7 @@ function(makemacros)
Panu Matilainen 033b63
 	set(rundir /run)
Panu Matilainen 033b63
 	set(root_prefix /usr)
Panu Matilainen 033b63
 
Panu Matilainen 033b63
-	findutil(__7ZIP 7zip)
Panu Matilainen 033b63
+	findutil(__7ZIP "7zip;7za;7z")
Panu Matilainen 033b63
 	findutil(__BZIP2 bzip2)
Panu Matilainen 033b63
 	findutil(__CAT cat)
Panu Matilainen 033b63
 	findutil(__CHMOD chmod)
Panu Matilainen 033b63
-- 
Panu Matilainen 033b63
2.41.0
Panu Matilainen 033b63