From 45e5207b69127c4cd28f6ac9845b9bd1fd8059f1 Mon Sep 17 00:00:00 2001 From: "monty@work.mysql.com" <> Date: Fri, 1 Sep 2000 00:53:34 +0200 Subject: [PATCH] Fixes for new build environment --- Build-tools/Do-all-build-steps | 5 +++++ Build-tools/Do-compile | 1 + 2 files changed, 6 insertions(+) diff --git a/Build-tools/Do-all-build-steps b/Build-tools/Do-all-build-steps index 682113f4f72..1631e613f51 100755 --- a/Build-tools/Do-all-build-steps +++ b/Build-tools/Do-all-build-steps @@ -14,6 +14,7 @@ EXTRA_CONFIG="--without-perl" echo "Building on $to_host" rm -rf $BD/* +rm -f $WD/binary/* mkdir -p $WD/Logs mkdir -p $BD/Logs @@ -86,3 +87,7 @@ fi cd "$BD" DIST=`ls -t mysql-*.tar.gz | head -1` $BD/Build-tools/mysql-copyright --target=. $DIST + +# move the binaries to the 'binary' directory +mv $BD/mysql*tar.gz $WD/binary +mv $BD/NEW-RPMS/* $WD/binary diff --git a/Build-tools/Do-compile b/Build-tools/Do-compile index 50d2fcd7977..39da5b8b74b 100755 --- a/Build-tools/Do-compile +++ b/Build-tools/Do-compile @@ -66,6 +66,7 @@ if ($opt_stage == 0) system("mkdir $host/test") if (! -d "$host/test"); system("mkdir $host/bin") if (! -d "$host/bin"); system("mkdir Logs") if (! -d "Logs"); + system("mv $log ${log}-old") if (-f $log); unlink($log); }