From 08caf0900db680273bac419448f21fea4fe28499 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sat, 16 Apr 2011 19:45:33 +0200 Subject: fix another nonportable grep usage in scripts Signed-off-by: Denys Vlasenko --- scripts/mkconfigs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/mkconfigs') 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/^[^ ]*//' \ -- cgit v1.1