aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/kconfig/streamline_config.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/kconfig/streamline_config.pl b/scripts/kconfig/streamline_config.pl
index 3c63aa943ee3..883748c70d28 100644
--- a/scripts/kconfig/streamline_config.pl
+++ b/scripts/kconfig/streamline_config.pl
@@ -42,6 +42,8 @@
42# mv config_strip .config 42# mv config_strip .config
43# make oldconfig 43# make oldconfig
44# 44#
45use strict;
46
45my $config = ".config"; 47my $config = ".config";
46 48
47my $uname = `uname -r`; 49my $uname = `uname -r`;
@@ -291,7 +293,7 @@ if (defined($lsmod_file)) {
291 # see what modules are loaded on this system 293 # see what modules are loaded on this system
292 my $lsmod; 294 my $lsmod;
293 295
294 foreach $dir ( ("/sbin", "/bin", "/usr/sbin", "/usr/bin") ) { 296 foreach my $dir ( ("/sbin", "/bin", "/usr/sbin", "/usr/bin") ) {
295 if ( -x "$dir/lsmod" ) { 297 if ( -x "$dir/lsmod" ) {
296 $lsmod = "$dir/lsmod"; 298 $lsmod = "$dir/lsmod";
297 last; 299 last;