summaryrefslogtreecommitdiff
path: root/Build-tools
diff options
context:
space:
mode:
authorunknown <monty@work.mysql.com>2000-12-31 11:50:54 +0100
committerunknown <monty@work.mysql.com>2000-12-31 11:50:54 +0100
commit8e0ffc2d1286f735c37f51762fef384c8f9d2614 (patch)
treebb2dcc8e889cd803ed01b92b03e1773d039ae086 /Build-tools
parent10b4e5f980e44385e12305f889cc0320c2661e7a (diff)
downloadmariadb-git-8e0ffc2d1286f735c37f51762fef384c8f9d2614.tar.gz
Install mysqltest binary and new man pages
Build-tools/Do-rpm: Remove old packages before compiling
Diffstat (limited to 'Build-tools')
-rwxr-xr-xBuild-tools/Do-rpm4
1 files changed, 4 insertions, 0 deletions
diff --git a/Build-tools/Do-rpm b/Build-tools/Do-rpm
index e480a6f8344..51c0d6a152e 100755
--- a/Build-tools/Do-rpm
+++ b/Build-tools/Do-rpm
@@ -25,6 +25,10 @@ VER=`grep "AM_INIT_AUTOMAKE(mysql, " $bpath/configure.in | \
sed -e 's;AM_INIT_AUTOMAKE(mysql, ;;' -e 's;);;'`
VER_NO_DASH=`echo $VER | sed -e "s|-.*$||"`
+echo "Removing old MySQL packages"
+rm -rf $rpmdir/BUILD/mysql-*
+rm -f $rpmdir/SRPMS/MySQL-*
+
echo "Building RPM for MySQL version $VER on $bmachine"
log=$bpath/Logs/Log-RPM-`date +%y%m%d-%H%M`