diff --git a/UnitCsvReceiverSmart.pl b/UnitCsvReceiverSmart.pl index 3a3f122..bb64f15 100644 --- a/UnitCsvReceiverSmart.pl +++ b/UnitCsvReceiverSmart.pl @@ -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