summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-01-26 20:26:49 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-01-26 20:26:49 +0000
commit048b3e684f1fb15a422186e9cfffb8008f9d5a99 (patch)
treec57dee82248d984ee8749b2cc77bbc06d03d202c /scripts
parentaf9b87b99fd1bb13b8bc560e01533b4a1115969d (diff)
downloadmaster-31e0f0ae-048b3e684f1fb15a422186e9cfffb8008f9d5a99.tar.gz
master-31e0f0ae-048b3e684f1fb15a422186e9cfffb8008f9d5a99.tar.bz2
master-31e0f0ae-048b3e684f1fb15a422186e9cfffb8008f9d5a99.zip
fix a small bug in config.pl that tends to mess up kernel cmdlines
SVN-Revision: 6212
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/config.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/config.pl b/scripts/config.pl
index a45253729c..dcebfe62c1 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;
};