From 8c67a81cdb17096fe2e64ad6fd0d9386da30cb85 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 16 Apr 2013 11:15:56 -0700 Subject: [PATCH] bin/ebuild: only digest once for FEATURES=digest --- bin/ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/ebuild b/bin/ebuild index 876aaf73c..aa7c18aaa 100755 --- a/bin/ebuild +++ b/bin/ebuild @@ -312,8 +312,10 @@ from portage.exception import PermissionDenied, \ PortagePackageException, UnsupportedAPIException if 'digest' in tmpsettings.features and \ - not set(["digest", "manifest"]).intersection(pargs): + pargs and pargs[0] not in ("digest", "manifest"): pargs = ['digest'] + pargs + # We only need to build digests on the first pass. + tmpsettings.features.discard('digest') checked_for_stale_env = False -- 2.26.2