Use the the optparse options for --ignore-default-opts since that allows option abrev...
authorZac Medico <zmedico@gentoo.org>
Wed, 20 Jun 2007 23:44:11 +0000 (23:44 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 20 Jun 2007 23:44:11 +0000 (23:44 -0000)
svn path=/main/branches/2.1.2/; revision=6891

bin/emerge

index f02b77c60a4e3e69ffbeba944cf82c9612ae2719..7ee4c3f0a4079194236679d3fd9aad86f19e2330 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)