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:
Denys Vlasenko 2011-02-09 01:33:41 +01:00
parent 698e8095fa
commit e7212a4ce5

View File

@ -42,7 +42,7 @@ echo "\
*/ */
static const char bbconfig_config[] ALIGN1 =" static const char bbconfig_config[] ALIGN1 ="
grep '^#\? \?CONFIG_' "$config" \ grep -e '^# CONFIG_' -e '^CONFIG_' "$config" \
| sed -e 's/\"/\\\"/g' -e 's/^/"/' -e 's/$/\\n"/' | sed -e 's/\"/\\\"/g' -e 's/^/"/' -e 's/$/\\n"/'
echo ";" echo ";"