Commit c469d57b authored by unknown's avatar unknown

- 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)


Build-tools/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)
parent ede1da2a
...@@ -57,7 +57,7 @@ unlink $temp or warn "Unable to remove tempfile ($!)\n"; ...@@ -57,7 +57,7 @@ unlink $temp or warn "Unable to remove tempfile ($!)\n";
# First get some info # First get some info
$fullname =~ s,/+$,,; # Remove ending slash if any $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\""; or die "This name is not what I expected - \"$fullname\"";
$default{"name"}= $2; $default{"name"}= $2;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment