- Build fix for Do-solaris-pkg: fixed package name matching regex to be satisfied with

"mysql-pro-gpl-cert" packages as well (thanks to Kent for the suggestion)
This commit is contained in:
lenz@mysql.com 2005-03-15 12:27:44 +01:00
parent 2714f176fb
commit c7506fa5f9

View File

@ -57,7 +57,7 @@ unlink $temp or warn "Unable to remove tempfile ($!)\n";
# First get some info
$fullname =~ s,/+$,,; # Remove ending slash if any
$fullname =~ /^((mysql)-\w+-?\w+?)-([\d\.]+\w?)-.+$/
$fullname =~ /^((mysql)(?:-\w+){1,3})-([\d\.]+\w?)-.+$/
or die "This name is not what I expected - \"$fullname\"";
$default{"name"}= $2;