diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-02-09 01:33:41 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-02-09 01:33:41 +0100 |
commit | e7212a4ce5aa3570f7195c48335f0280a0fd4383 (patch) | |
tree | a813f4733cef9469496d00506e0c97c689561ce9 | |
parent | 698e8095fa8d5b5b039168205dd24698b95dc6a6 (diff) | |
download | busybox-w32-e7212a4ce5aa3570f7195c48335f0280a0fd4383.tar.gz busybox-w32-e7212a4ce5aa3570f7195c48335f0280a0fd4383.tar.bz2 busybox-w32-e7212a4ce5aa3570f7195c48335f0280a0fd4383.zip |
scripts/mkconfigs: don't use invalid basic regexp
\? are GNU extension and thus are non-standard
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rwxr-xr-x | scripts/mkconfigs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mkconfigs b/scripts/mkconfigs index 47ac53330..7488d294e 100755 --- a/scripts/mkconfigs +++ b/scripts/mkconfigs | |||
@@ -42,7 +42,7 @@ echo "\ | |||
42 | */ | 42 | */ |
43 | static const char bbconfig_config[] ALIGN1 =" | 43 | static const char bbconfig_config[] ALIGN1 =" |
44 | 44 | ||
45 | grep '^#\? \?CONFIG_' "$config" \ | 45 | grep -e '^# CONFIG_' -e '^CONFIG_' "$config" \ |
46 | | sed -e 's/\"/\\\"/g' -e 's/^/"/' -e 's/$/\\n"/' | 46 | | sed -e 's/\"/\\\"/g' -e 's/^/"/' -e 's/$/\\n"/' |
47 | 47 | ||
48 | echo ";" | 48 | echo ";" |