mirror of
https://github.com/opnsense/plugins.git
synced 2026-02-03 20:40:37 -05:00
Scripts: update from core.git
This commit is contained in:
parent
76dc5e9b59
commit
7f918905ad
1 changed files with 2 additions and 2 deletions
|
|
@ -84,7 +84,7 @@ sub process_file
|
|||
for my $line ( @lines ) {
|
||||
my $copy = $line;
|
||||
next if $line !~ s/copyright\s+\(c\)\s+//i;
|
||||
$line =~ s/^[."\*\\#\s]+//g;
|
||||
$line =~ s/^[."\*\\#\s-]+//g;
|
||||
$line =~ s/\s+$//g;
|
||||
chomp $copy;
|
||||
$copy =~ s/^[\*\\#\s]+//g;
|
||||
|
|
@ -93,7 +93,7 @@ sub process_file
|
|||
$start = $1;
|
||||
$start =~ s/[,\s\-]+//g;
|
||||
}
|
||||
if ( $line =~ s/(\d\d\d\d\s*,?\s+)// ) {
|
||||
if ( $line =~ s/^(\d\d\d\d\s*,?\s+)// ) {
|
||||
$end = $1;
|
||||
$end =~ s/[,\s]+//g;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue