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 | fa5f540924c169d557370cea134c908cf3b0bb34 (patch) | |
tree | 5bd06dc192ddd3f436c8c8b056b5352fc47b87af | |
parent | 26540935eab1785f331f03455467a9b23130ac58 (diff) | |
download | upstream-fa5f540924c169d557370cea134c908cf3b0bb34.tar.gz upstream-fa5f540924c169d557370cea134c908cf3b0bb34.tar.bz2 upstream-fa5f540924c169d557370cea134c908cf3b0bb34.zip |
fix a small bug in the parse-config script
SVN-Revision: 4969
-rw-r--r-- | openwrt/package/base-files/default/usr/lib/parse-config.awk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openwrt/package/base-files/default/usr/lib/parse-config.awk b/openwrt/package/base-files/default/usr/lib/parse-config.awk index cf1b09c58c..9ce32b74ff 100644 --- a/openwrt/package/base-files/default/usr/lib/parse-config.awk +++ b/openwrt/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] |