public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCH] verify-sig.eclass: avoid calling unpack on sig files
@ 2024-05-22  1:58 Mike Gilbert
  2024-05-22  2:05 ` [gentoo-dev] [PATCH v2] " Mike Gilbert
  0 siblings, 1 reply; 6+ messages in thread
From: Mike Gilbert @ 2024-05-22  1:58 UTC (permalink / raw)
  To: gentoo-dev; +Cc: Mike Gilbert

Signed-off-by: Mike Gilbert <floppym@gentoo.org>
---
 eclass/verify-sig.eclass | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/eclass/verify-sig.eclass b/eclass/verify-sig.eclass
index b74ed78290aa..b0f180fdb3ac 100644
--- a/eclass/verify-sig.eclass
+++ b/eclass/verify-sig.eclass
@@ -429,7 +429,9 @@ verify-sig_src_unpack() {
 	fi
 
 	# finally, unpack the distfiles
-	default_src_unpack
+	if [[ ${#distfiles[@]} -gt 0 ]]; then
+		unpack "${distfiles[@]}"
+	fi
 }
 
 fi
-- 
2.45.1



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-05-22 15:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-22  1:58 [gentoo-dev] [PATCH] verify-sig.eclass: avoid calling unpack on sig files Mike Gilbert
2024-05-22  2:05 ` [gentoo-dev] [PATCH v2] " Mike Gilbert
2024-05-22  3:38   ` Michał Górny
2024-05-22 14:59     ` Mike Gilbert
2024-05-22  5:53   ` Ulrich Mueller
2024-05-22 14:55     ` Mike Gilbert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox