summaryrefslogtreecommitdiff
path: root/scripts/mkconfigs
diff options
context:
space:
mode:
authorDenys Vlasenko2011-06-12 17:49:38 +0200
committerDenys Vlasenko2011-06-12 17:49:38 +0200
commit2e79bc6c77560d4460847a459857039774de004a (patch)
tree17148ca59e5b221bcd0dda72023c6ac4748e93f4 /scripts/mkconfigs
parent30f0ea6cab956ed59ecc5de82459187763a2b868 (diff)
downloadbusybox-1_18_5.zip
busybox-1_18_5.tar.gz
Apply post-1.18.4 fixes, bump version to 1.18.51_18_5
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'scripts/mkconfigs')
-rwxr-xr-xscripts/mkconfigs4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/mkconfigs b/scripts/mkconfigs
index 47ac533..db94fcc 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/^[^ ]*//' \