mirror of
https://github.com/lucaspalomodevelop/opnsense-core.git
synced 2026-03-13 00:07:27 +00:00
Scripts: improve license parsing for odd names
This commit is contained in:
parent
fcbf3b15d8
commit
fcbceadb76
@ -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…
x
Reference in New Issue
Block a user