summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-07-30 04:33:54 +0000
committerZac Medico <zmedico@gentoo.org>2007-07-30 04:33:54 +0000
commite60fcf885f7fe0191a460d6e499d6b255ce3b0ad (patch)
treebb03eb1e5a1073dddc35b15b8514dd25467392f7 /bin
parent6ddb43d4cefac01b12ce9d2655b36180a8932acb (diff)
downloadportage-e60fcf885f7fe0191a460d6e499d6b255ce3b0ad.tar.gz
portage-e60fcf885f7fe0191a460d6e499d6b255ce3b0ad.tar.bz2
portage-e60fcf885f7fe0191a460d6e499d6b255ce3b0ad.zip
Use the the optparse options for --ignore-default-opts since that allows option abreviation to work. (branches/2.1.2 r6891)
svn path=/main/branches/2.1.2.9/; revision=7471
Diffstat (limited to 'bin')
-rwxr-xr-xbin/emerge2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/emerge b/bin/emerge
index 80b72e142..8ca27d489 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -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)