Linux kbuild/kconfig development
 help / color / mirror / Atom feed
* [PATCH] scripts/config: fix double-quotes un-escaping
@ 2012-07-15 20:37 Yann E. MORIN
  2012-07-24 21:13 ` Yann E. MORIN
  0 siblings, 1 reply; 4+ messages in thread
From: Yann E. MORIN @ 2012-07-15 20:37 UTC (permalink / raw)
  To: linux-kbuild; +Cc: Andi Kleen, Michal Marek, Yann E. MORIN

When reporting a string value, only the first double-quote was un-escaped.
We need to un-escape all escaped double-quotes.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
 scripts/config |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/config b/scripts/config
index f65a44a..ee35539 100755
--- a/scripts/config
+++ b/scripts/config
@@ -156,7 +156,7 @@ while [ "$1" != "" ] ; do
 				V="${V/#${CONFIG_}$ARG=/}"
 				V="${V/#\"/}"
 				V="${V/%\"/}"
-				V="${V/\\\"/\"}"
+				V="${V//\\\"/\"}"
 				echo "${V}"
 			fi
 		fi
-- 
1.7.2.5


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

end of thread, other threads:[~2012-07-26 16:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-15 20:37 [PATCH] scripts/config: fix double-quotes un-escaping Yann E. MORIN
2012-07-24 21:13 ` Yann E. MORIN
2012-07-26 10:20   ` Michal Marek
2012-07-26 16:54     ` Yann E. MORIN

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