diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-10-08 19:16:04 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-10-08 19:16:04 +0000 |
commit | 0edc1e6cbf2cb77e3b6508beb60966d7fa5c795b (patch) | |
tree | b2a3d583318d5e365da0f4858c9b54dcd0f99a91 /package/base-files/default | |
parent | cc28b0b5ef1eadf84bff7a4fae1fe26ca3661579 (diff) | |
download | upstream-0edc1e6cbf2cb77e3b6508beb60966d7fa5c795b.tar.gz upstream-0edc1e6cbf2cb77e3b6508beb60966d7fa5c795b.tar.bz2 upstream-0edc1e6cbf2cb77e3b6508beb60966d7fa5c795b.zip |
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
Diffstat (limited to 'package/base-files/default')
-rw-r--r-- | package/base-files/default/usr/lib/parse-config.awk | 2 |
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 cf1b09c58c..9ce32b74ff 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] |