Commit 8418e31f authored by unknown's avatar unknown
Browse files

- 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 39005884
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;