projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e0f1ce
)
EMERGE_DEFAULT_OPTS: shlex for embedded quotes
author
Zac Medico
<zmedico@gentoo.org>
Sun, 19 May 2013 17:25:21 +0000
(10:25 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 19 May 2013 17:25:21 +0000
(10:25 -0700)
pym/_emerge/main.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/main.py
b/pym/_emerge/main.py
index 8afb56da9763d85b2f63879312436572588c8240..ce00ae34aa6ef8b8ae70869d16a5929ffd25d2b3 100644
(file)
--- 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)