fix another nonportable grep usage in scripts
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
e9c8bed4d3
commit
08caf0900d
@ -63,7 +63,7 @@ echo "\
|
|||||||
*/
|
*/
|
||||||
static const char bbconfig_config_bz2[] ALIGN1 = {"
|
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 \
|
| bzip2 -1 | dd bs=2 skip=1 2>/dev/null \
|
||||||
| od -v -t x1 \
|
| od -v -t x1 \
|
||||||
| sed -e 's/^[^ ]*//' \
|
| sed -e 's/^[^ ]*//' \
|
||||||
|
Loading…
Reference in New Issue
Block a user