Use the the optparse options for --ignore-default-opts since that allows option abrev...
authorZac Medico <zmedico@gentoo.org>
Mon, 30 Jul 2007 04:33:54 +0000 (04:33 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 30 Jul 2007 04:33:54 +0000 (04:33 -0000)
svn path=/main/branches/2.1.2.9/; revision=7471

bin/emerge

index 80b72e1424527910bd9aef80150cb5429f6ad9e5..8ca27d489905d24bb32907c142ecf6c8cb24b323 100755 (executable)
@@ -5304,7 +5304,7 @@ def emerge_main():
        xterm_titles = "notitles" not in settings.features
 
        tmpcmdline = []
-       if "--ignore-default-opts" not in sys.argv:
+       if "--ignore-default-opts" not in myopts:
                tmpcmdline.extend(settings["EMERGE_DEFAULT_OPTS"].split())
        tmpcmdline.extend(sys.argv[1:])
        myaction, myopts, myfiles = parse_opts(tmpcmdline)