From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id A62551381F3 for ; Sun, 19 May 2013 17:25:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A8304E092D; Sun, 19 May 2013 17:25:42 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 44A69E092D for ; Sun, 19 May 2013 17:25:42 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5E96B33E3DD for ; Sun, 19 May 2013 17:25:41 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 0BB65E4404 for ; Sun, 19 May 2013 17:25:39 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1368984321.63ecaedb3bb95bc64987c233029a5d6d62c44ee2.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: pym/_emerge/ X-VCS-Repository: proj/portage X-VCS-Files: pym/_emerge/main.py X-VCS-Directories: pym/_emerge/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 63ecaedb3bb95bc64987c233029a5d6d62c44ee2 X-VCS-Branch: master Date: Sun, 19 May 2013 17:25:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: ae354365-cdcf-4870-8c9f-3bfa4e55b239 X-Archives-Hash: 48ee0de0ec0c1bab21f0a7fb709ce313 commit: 63ecaedb3bb95bc64987c233029a5d6d62c44ee2 Author: Zac Medico gentoo org> AuthorDate: Sun May 19 17:25:21 2013 +0000 Commit: Zac Medico gentoo org> CommitDate: Sun May 19 17:25:21 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=63ecaedb EMERGE_DEFAULT_OPTS: shlex for embedded quotes --- pym/_emerge/main.py | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/pym/_emerge/main.py b/pym/_emerge/main.py index 8afb56d..ce00ae3 100644 --- a/pym/_emerge/main.py +++ b/pym/_emerge/main.py @@ -1043,7 +1043,8 @@ def emerge_main(args=None): tmpcmdline = [] if "--ignore-default-opts" not in myopts: - tmpcmdline.extend(settings["EMERGE_DEFAULT_OPTS"].split()) + tmpcmdline.extend(portage.util.shlex_split( + settings.get("EMERGE_DEFAULT_OPTS", ""))) tmpcmdline.extend(args) myaction, myopts, myfiles = parse_opts(tmpcmdline)