summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-02-12 07:52:00 +0000
committerZac Medico <zmedico@gentoo.org>2006-02-12 07:52:00 +0000
commitb76d2cb80bce6611dbd93db1819b4a449556acba (patch)
tree49efe9d6228daae6a209f3210657a58b50321f2b /bin
parentcc21af8b923aeb27b7f3068d00dfe20b344d9cc9 (diff)
downloadportage-b76d2cb80bce6611dbd93db1819b4a449556acba.tar.gz
portage-b76d2cb80bce6611dbd93db1819b4a449556acba.tar.bz2
portage-b76d2cb80bce6611dbd93db1819b4a449556acba.zip
add a new emerge --ignore-default-opts option for bug 121695
svn path=/main/trunk/; revision=2696
Diffstat (limited to 'bin')
-rwxr-xr-xbin/emerge6
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/emerge b/bin/emerge
index 099a38a9d..c423aede3 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -182,7 +182,8 @@ options=[
"--emptytree",
"--fetchonly", "--fetch-all-uri",
"--getbinpkg", "--getbinpkgonly",
-"--help", "--noconfmem",
+"--help", "--ignore-default-opts",
+"--noconfmem",
"--newuse", "--nocolor",
"--nodeps", "--noreplace",
"--nospinner", "--oneshot",
@@ -226,7 +227,8 @@ edebug=0
# process short actions
tmpcmdline=sys.argv[1:]
-tmpcmdline.extend(portage.settings["EMERGE_DEFAULT_OPTS"].split())
+if "--ignore-default-opts" not in tmpcmdline:
+ tmpcmdline.extend(portage.settings["EMERGE_DEFAULT_OPTS"].split())
cmdline=[]
for x in tmpcmdline:
if x[0:1]=="-" and x[1:2]!="-":