public inbox for gentoo-portage-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-portage-dev] [PATCH] portageq envvar: shell escape variable (bug 492314)
@ 2013-11-26 20:15 SebastianLuther
  2013-11-27  3:27 ` Mike Frysinger
  0 siblings, 1 reply; 2+ messages in thread
From: SebastianLuther @ 2013-11-26 20:15 UTC (permalink / raw
  To: gentoo-portage-dev; +Cc: Sebastian Luther

From: Sebastian Luther <SebastianLuther@gmx.de>

---
 bin/portageq | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/portageq b/bin/portageq
index 82735f1..f29c124 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])
 
-- 
1.8.1.5



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [gentoo-portage-dev] [PATCH] portageq envvar: shell escape variable (bug 492314)
  2013-11-26 20:15 [gentoo-portage-dev] [PATCH] portageq envvar: shell escape variable (bug 492314) SebastianLuther
@ 2013-11-27  3:27 ` Mike Frysinger
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Frysinger @ 2013-11-27  3:27 UTC (permalink / raw
  To: gentoo-portage-dev; +Cc: SebastianLuther

[-- Attachment #1: Type: Text/Plain, Size: 35 bytes --]

thanks, i've pushed this now
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-11-27  3:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-26 20:15 [gentoo-portage-dev] [PATCH] portageq envvar: shell escape variable (bug 492314) SebastianLuther
2013-11-27  3:27 ` Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox