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:
e9c8bed
)
fix another nonportable grep usage in scripts
author
Denys Vlasenko
<vda.linux@googlemail.com>
Sat, 16 Apr 2011 17:45:33 +0000
(19:45 +0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Sat, 16 Apr 2011 17:45:33 +0000
(19:45 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
scripts/mkconfigs
patch
|
blob
|
history
diff --git
a/scripts/mkconfigs
b/scripts/mkconfigs
index 7488d294e64ac7192593f00a42f35cdc8dfc0ee1..db94fcc442e73c369981c419138d89a4e7c0dafd 100755
(executable)
--- a/
scripts/mkconfigs
+++ b/
scripts/mkconfigs
@@
-63,7
+63,7
@@
echo "\
*/
static const char bbconfig_config_bz2[] ALIGN1 = {"
-grep
'^#\? \?
CONFIG_' "$config" \
+grep
-e '^# CONFIG_' -e '^
CONFIG_' "$config" \
| bzip2 -1 | dd bs=2 skip=1 2>/dev/null \
| od -v -t x1 \
| sed -e 's/^[^ ]*//' \