summaryrefslogtreecommitdiff
path: root/Build-tools
diff options
context:
space:
mode:
authorunknown <lenz@mysql.com>2005-03-15 12:27:44 +0100
committerunknown <lenz@mysql.com>2005-03-15 12:27:44 +0100
commit8418e31fc35d150bcac4fa646db11cdb5e8fc4bd (patch)
tree34293fc8d527e53e3520f44dc5718539272328a7 /Build-tools
parent39005884b546d9a250dd4d7be113882b292b7146 (diff)
downloadmariadb-git-8418e31fc35d150bcac4fa646db11cdb5e8fc4bd.tar.gz
- 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)
Diffstat (limited to 'Build-tools')
-rw-r--r--Build-tools/Do-solaris-pkg2
1 files changed, 1 insertions, 1 deletions
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;