summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rwxr-xr-xscripts/deps.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/deps.pl b/scripts/deps.pl
index a219e36..21f816b 100755
--- a/scripts/deps.pl
+++ b/scripts/deps.pl
@@ -15,13 +15,13 @@ sub getdepends ($$)
15 #print "token is $token\n"; 15 #print "token is $token\n";
16 open( FILE, "< $path/config.in" ) || return; 16 open( FILE, "< $path/config.in" ) || return;
17 $intoken = 0; 17 $intoken = 0;
18 while( <FILE> ) { 18 while( <FILE> ) {
19 if( $intoken == 1 ) { 19 if( $intoken == 1 ) {
20 /depends\S*(.*)/ && return $1; 20 /depends\S*(.*)/ && return $1;
21 if( /\S*(config|menu)/ ) { 21 if( /^\s*(config|menu)/ ) {
22 $intoken = 0; 22 $intoken = 0;
23 return; 23 return;
24 } 24 }
25 } else { 25 } else {
26 /$token/ || next; 26 /$token/ || next;
27 $intoken = 1; 27 $intoken = 1;