From 2e79bc6c77560d4460847a459857039774de004a Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sun, 12 Jun 2011 17:49:38 +0200 Subject: Apply post-1.18.4 fixes, bump version to 1.18.5 Signed-off-by: Denys Vlasenko --- scripts/mkconfigs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/mkconfigs b/scripts/mkconfigs index 47ac53330..db94fcc44 100755 --- a/scripts/mkconfigs +++ b/scripts/mkconfigs @@ -42,7 +42,7 @@ echo "\ */ static const char bbconfig_config[] ALIGN1 =" -grep '^#\? \?CONFIG_' "$config" \ +grep -e '^# CONFIG_' -e '^CONFIG_' "$config" \ | sed -e 's/\"/\\\"/g' -e 's/^/"/' -e 's/$/\\n"/' echo ";" @@ -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.2.3-55-g6feb