summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-11-04 02:32:38 +0000
committerZac Medico <zmedico@gentoo.org>2006-11-04 02:32:38 +0000
commit6733c104df676d6a742ca4916fdbed3c53d1d2a7 (patch)
tree47e3af21eaa69803fcdc4ab745d847cf011a1f8f
parentdce7a11b1651f279e1fce185451d3ddc2af38068 (diff)
downloadportage-6733c104df676d6a742ca4916fdbed3c53d1d2a7.tar.gz
portage-6733c104df676d6a742ca4916fdbed3c53d1d2a7.tar.bz2
portage-6733c104df676d6a742ca4916fdbed3c53d1d2a7.zip
Fix --ignore-default-opts for bug #153980.
svn path=/main/trunk/; revision=4926
-rwxr-xr-xbin/emerge2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/emerge b/bin/emerge
index 620b45623..932ad65b1 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -4274,7 +4274,7 @@ def emerge_main():
nocolor()
tmpcmdline = []
- if "--ignore-default-opts" not in tmpcmdline:
+ if "--ignore-default-opts" not in sys.argv:
tmpcmdline.extend(settings["EMERGE_DEFAULT_OPTS"].split())
tmpcmdline.extend(sys.argv[1:])
myaction, myopts, myfiles = parse_opts(tmpcmdline)