aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-08-25 18:49:33 -0700
committerZac Medico <zmedico@gentoo.org>2010-08-25 18:49:33 -0700
commitd5490ca81fec08bad27414979305cc9a50c56edd (patch)
treed38562aedeedc67c7f83687f1db4e4d170f278cd /bin/ebuild
parentUse a PORTAGE_SIGPIPE_STATUS variable to export 128 + SIGPIPE to the (diff)
downloadportage-d5490ca81fec08bad27414979305cc9a50c56edd.tar.gz
portage-d5490ca81fec08bad27414979305cc9a50c56edd.tar.bz2
portage-d5490ca81fec08bad27414979305cc9a50c56edd.zip
Add ebuild(1) support for FEATURES=digest.
Diffstat (limited to 'bin/ebuild')
-rwxr-xr-xbin/ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/bin/ebuild b/bin/ebuild
index 9ce058b5c..a419d264b 100755
--- a/bin/ebuild
+++ b/bin/ebuild
@@ -1,5 +1,5 @@
#!/usr/bin/python -O
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
from __future__ import print_function
@@ -263,6 +263,11 @@ def stale_env_warning():
from portage.exception import PermissionDenied, \
PortagePackageException, UnsupportedAPIException
+
+if 'digest' in tmpsettings.features and \
+ not set(["digest", "manifest"]).intersection(pargs):
+ pargs = ['digest'] + pargs
+
checked_for_stale_env = False
for arg in pargs: