diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-01-26 20:26:49 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-01-26 20:26:49 +0000 |
commit | 048b3e684f1fb15a422186e9cfffb8008f9d5a99 (patch) | |
tree | c57dee82248d984ee8749b2cc77bbc06d03d202c /scripts/config.pl | |
parent | af9b87b99fd1bb13b8bc560e01533b4a1115969d (diff) | |
download | mtk-20170518-048b3e684f1fb15a422186e9cfffb8008f9d5a99.zip mtk-20170518-048b3e684f1fb15a422186e9cfffb8008f9d5a99.tar.gz mtk-20170518-048b3e684f1fb15a422186e9cfffb8008f9d5a99.tar.bz2 |
fix a small bug in config.pl that tends to mess up kernel cmdlines
SVN-Revision: 6212
Diffstat (limited to 'scripts/config.pl')
-rwxr-xr-x | scripts/config.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/config.pl b/scripts/config.pl index a452537..dcebfe6 100755 --- a/scripts/config.pl +++ b/scripts/config.pl @@ -18,11 +18,11 @@ sub load_config($) { open FILE, "$file" or die "can't open file"; while (<FILE>) { chomp; - /^CONFIG_(.+)=(.+)/ and do { + /^CONFIG_(.+?)=(.+)/ and do { $config{$1} = $2; next; }; - /^# CONFIG_(.+) is not set/ and do { + /^# CONFIG_(.+?) is not set/ and do { $config{$1} = -1; next; }; |