diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-02-27 00:44:54 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-02-27 00:44:54 +0000 |
commit | d0805ce7e684c0cfc0fcbfaba76f1448e542ffa6 (patch) | |
tree | 5571e656cf83624ba0f199e30f5b90f7cb9951bd | |
parent | dbda44a95299e0c089c4f7f721db32c74eac1ae6 (diff) | |
download | portage-d0805ce7e684c0cfc0fcbfaba76f1448e542ffa6.tar.gz portage-d0805ce7e684c0cfc0fcbfaba76f1448e542ffa6.tar.bz2 portage-d0805ce7e684c0cfc0fcbfaba76f1448e542ffa6.zip |
Make sure myopts does not contain duplicate options for bug 124204.
svn path=/main/trunk/; revision=2794
-rwxr-xr-x | bin/emerge | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/emerge b/bin/emerge index 5a1ce5c69..b52bfa08d 100755 --- a/bin/emerge +++ b/bin/emerge @@ -254,7 +254,8 @@ for x in cmdline: elif x == "--skip-first": x = "--skipfirst" if x in options: - myopts.append(x) + if x not in myopts: + myopts.append(x) elif x[2:] in actions: if myaction: if myaction not in ["system", "world"]: |