fix grep suffix case insensitive
This commit is contained in:
@@ -94,7 +94,7 @@ while ( my $line = $tail->GetLine() ) {
|
||||
$trfile = "/home/" . $truser . $trfile;
|
||||
|
||||
if (
|
||||
( grep( /^$suffix$/, @ext ) )
|
||||
( grep( /^$suffix$/i, @ext ) )
|
||||
and ( $filename =~
|
||||
m/^(\d\d_\d\d\d\d_|)(DT\d\d\d\d|LOC\d\d\d\d|GD\d\d\d\d)$/i
|
||||
or $filename =~ m/^G201_ID\d\d\d\d_DT\d\d\d\d_\d*$/i
|
||||
|
||||
Reference in New Issue
Block a user