diff options
author | Joerg Bruehe <joerg@mysql.com> | 2009-04-14 12:29:59 +0200 |
---|---|---|
committer | Joerg Bruehe <joerg@mysql.com> | 2009-04-14 12:29:59 +0200 |
commit | 11e4e24bc73bf920daf4666571cf1835ec29177c (patch) | |
tree | c1d8b23d7c4f1d6c002d2e534401f7587b4d6c3f /scripts | |
parent | 8acca4388bbdbcfb3ec44b300af8dab384347e3b (diff) | |
parent | d6e40e1032b47f85de47aa0ce883d315a3dd2ddd (diff) | |
download | mariadb-git-11e4e24bc73bf920daf4666571cf1835ec29177c.tar.gz |
Merge a tool change needed for cluster ("CGE") builds
to achieve the correct package names ("scripts/make_binary_distribution.sh").
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/make_binary_distribution.sh | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/scripts/make_binary_distribution.sh b/scripts/make_binary_distribution.sh index ee7c36b097d..152225f86b1 100644 --- a/scripts/make_binary_distribution.sh +++ b/scripts/make_binary_distribution.sh @@ -116,10 +116,15 @@ case $PLATFORM in esac # Change the distribution to a long descriptive name +# For the cluster product, concentrate on the second part +VERSION_NAME=@VERSION@ +case $VERSION_NAME in + *-ndb-* ) VERSION_NAME=`echo $VERSION_NAME | sed -e 's/[.0-9]*-ndb-//'` ;; +esac if [ x"$SHORT_PRODUCT_TAG" != x"" ] ; then - NEW_NAME=mysql-$SHORT_PRODUCT_TAG-@VERSION@-$PLATFORM$SUFFIX + NEW_NAME=mysql-$SHORT_PRODUCT_TAG-$VERSION_NAME-$PLATFORM$SUFFIX else - NEW_NAME=mysql@MYSQL_SERVER_SUFFIX@-@VERSION@-$PLATFORM$SUFFIX + NEW_NAME=mysql@MYSQL_SERVER_SUFFIX@-$VERSION_NAME-$PLATFORM$SUFFIX fi # ---------------------------------------------------------------------- |