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>
This commit is contained in:
1 parent
698e8095fa
commit
e7212a4ce5
1 file changed
+1
-1
+1
-1
@@ -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 ";"
|
||||
|
||||
Reference in new issue
Block a user