diff options
author | tim@work.mysql.com <> | 2001-10-09 03:04:32 +0200 |
---|---|---|
committer | tim@work.mysql.com <> | 2001-10-09 03:04:32 +0200 |
commit | a98a87af6d1c00561f74dafbb7189663638495ef (patch) | |
tree | d2bcbba3c2b8db6a7d8bead90b0567051ec07b6e /Build-tools | |
parent | d5fe1db868a8786bad901a632631c2d94eadfbe6 (diff) | |
download | mariadb-git-a98a87af6d1c00561f74dafbb7189663638495ef.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
Diffstat (limited to 'Build-tools')
-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 |