aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2011-02-09 01:33:41 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2011-02-09 01:33:41 +0100
commite7212a4ce5aa3570f7195c48335f0280a0fd4383 (patch)
treea813f4733cef9469496d00506e0c97c689561ce9 /scripts
parent698e8095fa8d5b5b039168205dd24698b95dc6a6 (diff)
downloadbusybox-e7212a4ce5aa3570f7195c48335f0280a0fd4383.tar.gz
scripts/mkconfigs: don't use invalid basic regexp
\? are GNU extension and thus are non-standard Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/mkconfigs2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mkconfigs b/scripts/mkconfigs
index 47ac53330..7488d294e 100755
--- a/scripts/mkconfigs
+++ b/scripts/mkconfigs
@@ -42,7 +42,7 @@ echo "\
*/
static const char bbconfig_config[] ALIGN1 ="
-grep '^#\? \?CONFIG_' "$config" \
+grep -e '^# CONFIG_' -e '^CONFIG_' "$config" \
| sed -e 's/\"/\\\"/g' -e 's/^/"/' -e 's/$/\\n"/'
echo ";"