summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2019-02-20 11:06:20 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2019-02-20 11:10:54 +0100
commit3b4b52686d71b0f8c21cce0f0b50c22703c9f9dc (patch)
treef0fb998b4b042444a8549a392b75d8677dac89d3
parentbfa286830eb6fa9ae1fabc289451bf3e1946fdb3 (diff)
downloadptxdist-3b4b52686d71b0f8c21cce0f0b50c22703c9f9dc.tar.gz
ptxdist-3b4b52686d71b0f8c21cce0f0b50c22703c9f9dc.tar.xz
ptxd_kconfig_create_config_merge: handle more characters in symbol names
Without this symbols with e.g. lowercase letters are not parsed correctly. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--scripts/lib/ptxd_lib_kconfig.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/ptxd_lib_kconfig.sh b/scripts/lib/ptxd_lib_kconfig.sh
index ea89ab0bb..9208ad715 100644
--- a/scripts/lib/ptxd_lib_kconfig.sh
+++ b/scripts/lib/ptxd_lib_kconfig.sh
@@ -121,7 +121,7 @@ ptxd_kconfig_create_config_merge() {
IFS="="
exec {diff_fd}< "${diff}"
while read a b line <&${diff_fd}; do
- if [[ -z "${b}" && "${a}" =~ ^'# '[A-Z0-9_]*' is not set'$ ]]; then
+ if [[ -z "${b}" && "${a}" =~ ^'# '[^\ ]*' is not set'$ ]]; then
a="${a% is not set}"
a="${a#\# }"
b="n"