summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2011-04-16 17:45:33 (GMT)
committer Denys Vlasenko <vda.linux@googlemail.com>2011-04-16 17:45:33 (GMT)
commit08caf0900db680273bac419448f21fea4fe28499 (patch)
treec952144ae033adfa24309caf4e8faf2bc7ad301c
parente9c8bed4d3b157097e89ee2611ca731e37ce8d7d (diff)
downloadbusybox-08caf0900db680273bac419448f21fea4fe28499.tar.gz
busybox-08caf0900db680273bac419448f21fea4fe28499.tar.bz2
fix another nonportable grep usage in scripts
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rwxr-xr-xscripts/mkconfigs2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mkconfigs b/scripts/mkconfigs
index 7488d29..db94fcc 100755
--- 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/^[^ ]*//' \