mirror of
https://github.com/sheumann/hush.git
synced 2024-12-23 05:29:58 +00:00
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:
parent
698e8095fa
commit
e7212a4ce5
@ -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 ";"
|
||||
|
Loading…
Reference in New Issue
Block a user