summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Harring <ferringb@gentoo.org>2005-10-03 13:25:55 +0000
committerBrian Harring <ferringb@gentoo.org>2005-10-03 13:25:55 +0000
commitf792724229b4f7bfe21d715ab1c4e2156d6b8824 (patch)
treeba680f191f57fa057ee024b791fe90bc21e5ee7e /bin/ebuild
parentMake sure to include package.use flags with fetch-restricted packages (diff)
downloadportage-multirepo-f792724229b4f7bfe21d715ab1c4e2156d6b8824.tar.gz
portage-multirepo-f792724229b4f7bfe21d715ab1c4e2156d6b8824.tar.bz2
portage-multirepo-f792724229b4f7bfe21d715ab1c4e2156d6b8824.zip
fixing horkage when noauto is in use (nameerrors)
svn path=/main/branches/2.0/; revision=2079
Diffstat (limited to 'bin/ebuild')
-rwxr-xr-xbin/ebuild11
1 files changed, 8 insertions, 3 deletions
diff --git a/bin/ebuild b/bin/ebuild
index b3b063ae..133c0426 100755
--- a/bin/ebuild
+++ b/bin/ebuild
@@ -67,9 +67,14 @@ if len(pargs) > 1 and "noauto" not in portage.features:
if len(pargs) != 2:
print "config must be called on it's own, not combined with any other phase"
sys.exit(1)
- ebuild = pargs[0]
- pargs = actionmap_targets + others
- root = getroot()
+ pargs = [pargs[0]] + actionmap_targets + others
+else:
+ ebuild = pargs.pop(0)
+ try: pargs.remove("clean")
+ except ValueError: cleanse_first = False
+ else: cleanse_first = True
+
+root = getroot()
for x in pargs:
try: