From 69426808965328a88bf67d8b11c07c569c7ac378 Mon Sep 17 00:00:00 2001 From: hiromu Date: Tue, 17 Aug 2010 19:49:18 +0900 Subject: [PATCH] --- yaml --- r: 220972 b: refs/heads/master c: cf5a189d4a02efb3712cfb424452f4ce3ab7c4a2 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/scripts/kconfig/streamline_config.pl | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 80f191698e3f..ee7ae1ead2bd 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ccece60ac69608c496b07c0d31a68894db0a22b3 +refs/heads/master: cf5a189d4a02efb3712cfb424452f4ce3ab7c4a2 diff --git a/trunk/scripts/kconfig/streamline_config.pl b/trunk/scripts/kconfig/streamline_config.pl index 3c63aa943ee3..883748c70d28 100644 --- a/trunk/scripts/kconfig/streamline_config.pl +++ b/trunk/scripts/kconfig/streamline_config.pl @@ -42,6 +42,8 @@ # mv config_strip .config # make oldconfig # +use strict; + my $config = ".config"; my $uname = `uname -r`; @@ -291,7 +293,7 @@ sub read_kconfig { # see what modules are loaded on this system my $lsmod; - foreach $dir ( ("/sbin", "/bin", "/usr/sbin", "/usr/bin") ) { + foreach my $dir ( ("/sbin", "/bin", "/usr/sbin", "/usr/bin") ) { if ( -x "$dir/lsmod" ) { $lsmod = "$dir/lsmod"; last;