From: Zac Medico Date: Mon, 27 Feb 2006 00:44:54 +0000 (-0000) Subject: Make sure myopts does not contain duplicate options for bug 124204. X-Git-Tag: v2.1_pre6~46 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d0805ce7e684c0cfc0fcbfaba76f1448e542ffa6;p=portage.git Make sure myopts does not contain duplicate options for bug 124204. svn path=/main/trunk/; revision=2794 --- 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"]: