diff options
author | unknown <tim@work.mysql.com> | 2001-10-09 03:04:32 +0200 |
---|---|---|
committer | unknown <tim@work.mysql.com> | 2001-10-09 03:04:32 +0200 |
commit | ac473f87396b52b41f5bca4028cb2cce425d9e3a (patch) | |
tree | d2bcbba3c2b8db6a7d8bead90b0567051ec07b6e /Build-tools/Do-rpm | |
parent | 1c64f355b4e0bb7a709dd850857a9bb41b11d09c (diff) | |
download | mariadb-git-ac473f87396b52b41f5bca4028cb2cce425d9e3a.tar.gz |
mysql.spec.sh fix typo in embedded section
Do-rpm remove the file before doing a cp
Do-rpm print out the log file name
Build-tools/Do-rpm:
remove the file before doing a cp
print out the log file name
support-files/mysql.spec.sh:
fix typo in embedded section
Diffstat (limited to 'Build-tools/Do-rpm')
-rwxr-xr-x | Build-tools/Do-rpm | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Build-tools/Do-rpm b/Build-tools/Do-rpm index 046ba93a1dd..68abeaa9bfa 100755 --- a/Build-tools/Do-rpm +++ b/Build-tools/Do-rpm @@ -5,6 +5,7 @@ function copy_to_bmachine { if [ x$local_build = x1 ]; then + rm -f $2 cp $1 $2 else scp $1 $owner@$bmachine:$2 @@ -14,6 +15,7 @@ function copy_to_bmachine function copy_from_bmachine { if [ x$local_build = x1 ]; then + rm -f $2 cp $1 $2 else scp $owner@$bmachine:$1 $2 @@ -105,10 +107,11 @@ if [ ! -f "$tarball" ]; then exit 1 fi -echo "Building RPM for MySQL version $VER on $bmachine" - log=$logdir/Log-RPM-`date +%y%m%d-%H%M` +echo "Building RPM for MySQL version $VER on $bmachine" +echo "Details in $log" + ( set -x # Copy MySQL source and spec files |