From 8418e31fc35d150bcac4fa646db11cdb5e8fc4bd Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 15 Mar 2005 12:27:44 +0100 Subject: [PATCH] - 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) --- Build-tools/Do-solaris-pkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Build-tools/Do-solaris-pkg b/Build-tools/Do-solaris-pkg index 8815033146c..22d68793808 100644 --- a/Build-tools/Do-solaris-pkg +++ b/Build-tools/Do-solaris-pkg @@ -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;