summaryrefslogtreecommitdiff
path: root/Build-tools
diff options
context:
space:
mode:
authorlenz@mysql.com <>2005-03-15 12:27:44 +0100
committerlenz@mysql.com <>2005-03-15 12:27:44 +0100
commitc7506fa5f9185587dce62c33be212fbf0533f4f5 (patch)
tree34293fc8d527e53e3520f44dc5718539272328a7 /Build-tools
parent2714f176fb293a002a7d4883286469181a34322b (diff)
downloadmariadb-git-c7506fa5f9185587dce62c33be212fbf0533f4f5.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)
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;