[PATCH] scripts/config: fix double-quotes un-escaping

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx>
---
 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

--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux