From: Zac Medico Date: Tue, 16 Apr 2013 18:15:56 +0000 (-0700) Subject: bin/ebuild: only digest once for FEATURES=digest X-Git-Tag: v2.2.0_alpha174~21 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8c67a81cdb17096fe2e64ad6fd0d9386da30cb85;p=portage.git bin/ebuild: only digest once for FEATURES=digest --- 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