mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
make_binary_distribution.sh:
- Remove vendor tag from package names. - Map standard OS names to user-friendly versions.
This commit is contained in:
@ -181,6 +181,7 @@ mwagner@cash.mwagner.org
|
|||||||
mwagner@evoq.mwagner.org
|
mwagner@evoq.mwagner.org
|
||||||
mwagner@here.mwagner.org
|
mwagner@here.mwagner.org
|
||||||
mwagner@mysql.com
|
mwagner@mysql.com
|
||||||
|
mwagner@ultrafly.mysql.com
|
||||||
mwagner@work.mysql.com
|
mwagner@work.mysql.com
|
||||||
mydev@mysql.com
|
mydev@mysql.com
|
||||||
mysql@home.(none)
|
mysql@home.(none)
|
||||||
|
@ -294,6 +294,22 @@ if [ x$NDBCLUSTER = x1 ]; then
|
|||||||
rm -rf $BASE/ndb-stage
|
rm -rf $BASE/ndb-stage
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Remove vendor from $system
|
||||||
|
system=`echo $system | sed -e 's/[a-z]*-\(.*\)/\1/g'`
|
||||||
|
|
||||||
|
# Map OS names to "our" OS names (eg. darwin6.8 -> osx10.2)
|
||||||
|
system=`echo $system | sed -e 's/darwin6.*/osx10.2/g'`
|
||||||
|
system=`echo $system | sed -e 's/darwin7.*/osx10.3/g'`
|
||||||
|
system=`echo $system | sed -e 's/darwin8.*/osx10.4/g'`
|
||||||
|
system=`echo $system | sed -e 's/\(aix4.3\).*/\1/g'`
|
||||||
|
system=`echo $system | sed -e 's/\(aix5.1\).*/\1/g'`
|
||||||
|
system=`echo $system | sed -e 's/\(aix5.2\).*/\1/g'`
|
||||||
|
system=`echo $system | sed -e 's/\(aix5.3\).*/\1/g'`
|
||||||
|
system=`echo $system | sed -e 's/osf5.1b/tru64/g'`
|
||||||
|
system=`echo $system | sed -e 's/linux-gnu/linux/g'`
|
||||||
|
system=`echo $system | sed -e 's/solaris2.\([0-9]*\)/solaris\1/g'`
|
||||||
|
system=`echo $system | sed -e 's/sco3.2v\(.*\)/openserver\1/g'`
|
||||||
|
|
||||||
# Change the distribution to a long descriptive name
|
# Change the distribution to a long descriptive name
|
||||||
NEW_NAME=mysql@MYSQL_SERVER_SUFFIX@-$version-$system-$machine$SUFFIX
|
NEW_NAME=mysql@MYSQL_SERVER_SUFFIX@-$version-$system-$machine$SUFFIX
|
||||||
BASE2=$TMP/$NEW_NAME
|
BASE2=$TMP/$NEW_NAME
|
||||||
|
Reference in New Issue
Block a user