From: Mike Gilbert <floppym@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Cc: Mike Gilbert <floppym@gentoo.org>
Subject: [gentoo-dev] [PATCH] verify-sig.eclass: avoid calling unpack on sig files
Date: Tue, 21 May 2024 21:58:30 -0400 [thread overview]
Message-ID: <20240522015830.1841810-1-floppym@gentoo.org> (raw)
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
next reply other threads:[~2024-05-22 1:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-22 1:58 Mike Gilbert [this message]
2024-05-22 2:05 ` [gentoo-dev] [PATCH v2] verify-sig.eclass: avoid calling unpack on sig files 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240522015830.1841810-1-floppym@gentoo.org \
--to=floppym@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox