summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2012-07-15 22:37:35 +0200
committerMichal Marek <mmarek@suse.cz>2012-07-26 12:20:01 +0200
commit1925a276afa78c305dacb7f2da11825bffecad44 (patch)
treef2d2f4176b07b9bc8f28bf32cabb591f5b5577a7 /scripts
parent5b580fa671a6a8dd775bb6e54e4858678296c38a (diff)
downloadop-kernel-dev-1925a276afa78c305dacb7f2da11825bffecad44.zip
op-kernel-dev-1925a276afa78c305dacb7f2da11825bffecad44.tar.gz
scripts/config: fix double-quotes un-escaping
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> Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/config2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/config b/scripts/config
index ed6653e..9e984bc9 100755
--- a/scripts/config
+++ b/scripts/config
@@ -128,7 +128,7 @@ while [ "$1" != "" ] ; do
V="${V/#CONFIG_$ARG=/}"
V="${V/#\"/}"
V="${V/%\"/}"
- V="${V/\\\"/\"}"
+ V="${V//\\\"/\"}"
echo "${V}"
fi
fi
OpenPOWER on IntegriCloud