diff options
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 |