projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
698e809
)
scripts/mkconfigs: don't use invalid basic regexp
author
Denys Vlasenko
<vda.linux@googlemail.com>
Wed, 9 Feb 2011 00:33:41 +0000
(
01:33
+0100)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Wed, 9 Feb 2011 00:33:41 +0000
(
01:33
+0100)
\? are GNU extension and thus are non-standard
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
scripts/mkconfigs
patch
|
blob
|
history
diff --git
a/scripts/mkconfigs
b/scripts/mkconfigs
index 47ac53330854efa3a32dcd17e20c96f379044277..7488d294e64ac7192593f00a42f35cdc8dfc0ee1 100755
(executable)
--- 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 ";"