Gentoo Archives: gentoo-portage-dev

From: SebastianLuther@×××.de
To: gentoo-portage-dev@l.g.o
Cc: Sebastian Luther <SebastianLuther@×××.de>
Subject: [gentoo-portage-dev] [PATCH] portageq envvar: shell escape variable (bug 492314)
Date: Tue, 26 Nov 2013 20:17:04
Message-Id: 1385496937-31341-1-git-send-email-SebastianLuther@gmx.de
1 From: Sebastian Luther <SebastianLuther@×××.de>
2
3 ---
4 bin/portageq | 2 +-
5 1 file changed, 1 insertion(+), 1 deletion(-)
6
7 diff --git a/bin/portageq b/bin/portageq
8 index 82735f1..f29c124 100755
9 --- a/bin/portageq
10 +++ b/bin/portageq
11 @@ -740,7 +740,7 @@ def envvar(argv):
12
13 for arg in argv:
14 if verbose:
15 - print(arg +"='"+ portage.settings[arg] +"'")
16 + print(arg + "=" + portage._shell_quote(portage.settings[arg]))
17 else:
18 print(portage.settings[arg])
19
20 --
21 1.8.1.5

Replies