From: Sebastian Luther Date: Tue, 26 Nov 2013 20:15:37 +0000 (+0100) Subject: portageq envvar: shell escape variable (bug 492314) X-Git-Tag: v2.2.8~43 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ff8b17301527f35079eec332a2884337f797f837;p=portage.git portageq envvar: shell escape variable (bug 492314) --- diff --git a/bin/portageq b/bin/portageq index 82735f1f3..f29c124f2 100755 --- a/bin/portageq +++ b/bin/portageq @@ -740,7 +740,7 @@ def envvar(argv): for arg in argv: if verbose: - print(arg +"='"+ portage.settings[arg] +"'") + print(arg + "=" + portage._shell_quote(portage.settings[arg])) else: print(portage.settings[arg])