From: Zac Medico Date: Sat, 4 Nov 2006 02:32:38 +0000 (-0000) Subject: Fix --ignore-default-opts for bug #153980. X-Git-Tag: v2.1.2~508 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6733c104df676d6a742ca4916fdbed3c53d1d2a7;p=portage.git Fix --ignore-default-opts for bug #153980. svn path=/main/trunk/; revision=4926 --- 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)