summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-10-08 19:16:04 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-10-08 19:16:04 +0000
commit91ef5b68e237e3d9e4a90f43427e55ab35928aa3 (patch)
treeb2a3d583318d5e365da0f4858c9b54dcd0f99a91
parent27d5e95f5c18de97c201916b5ed6342d151e6a38 (diff)
fix a small bug in the parse-config script
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4969 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/base-files/default/usr/lib/parse-config.awk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/default/usr/lib/parse-config.awk b/package/base-files/default/usr/lib/parse-config.awk
index cf1b09c58..9ce32b74f 100644
--- a/package/base-files/default/usr/lib/parse-config.awk
+++ b/package/base-files/default/usr/lib/parse-config.awk
@@ -27,7 +27,7 @@ $1 == "@else" {
else noprint = 1
}
-($1 !~ /^@/) && (noprint != 1) {
+($1 !~ /^@[a-zA-Z]/) && (noprint != 1) {
n=split(line "@@", a, /@@/)
for (i=1; i<=n; i++) {
if ((i % 2) == 1) printf a[i]