From: Zac Medico Date: Sun, 19 May 2013 17:25:21 +0000 (-0700) Subject: EMERGE_DEFAULT_OPTS: shlex for embedded quotes X-Git-Tag: v2.2.0_alpha177~5 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=63ecaedb3bb95bc64987c233029a5d6d62c44ee2;p=portage.git EMERGE_DEFAULT_OPTS: shlex for embedded quotes --- diff --git a/pym/_emerge/main.py b/pym/_emerge/main.py index 8afb56da9..ce00ae34a 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)