diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-04-16 19:45:33 +0200 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-04-16 19:45:33 +0200 |
| commit | 08caf0900db680273bac419448f21fea4fe28499 (patch) | |
| tree | c952144ae033adfa24309caf4e8faf2bc7ad301c /scripts | |
| parent | e9c8bed4d3b157097e89ee2611ca731e37ce8d7d (diff) | |
| download | busybox-w32-08caf0900db680273bac419448f21fea4fe28499.tar.gz busybox-w32-08caf0900db680273bac419448f21fea4fe28499.tar.bz2 busybox-w32-08caf0900db680273bac419448f21fea4fe28499.zip | |
fix another nonportable grep usage in scripts
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/mkconfigs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mkconfigs b/scripts/mkconfigs index 7488d294e..db94fcc44 100755 --- a/scripts/mkconfigs +++ b/scripts/mkconfigs | |||
| @@ -63,7 +63,7 @@ echo "\ | |||
| 63 | */ | 63 | */ |
| 64 | static const char bbconfig_config_bz2[] ALIGN1 = {" | 64 | static const char bbconfig_config_bz2[] ALIGN1 = {" |
| 65 | 65 | ||
| 66 | grep '^#\? \?CONFIG_' "$config" \ | 66 | grep -e '^# CONFIG_' -e '^CONFIG_' "$config" \ |
| 67 | | bzip2 -1 | dd bs=2 skip=1 2>/dev/null \ | 67 | | bzip2 -1 | dd bs=2 skip=1 2>/dev/null \ |
| 68 | | od -v -t x1 \ | 68 | | od -v -t x1 \ |
| 69 | | sed -e 's/^[^ ]*//' \ | 69 | | sed -e 's/^[^ ]*//' \ |
