Commit 45e5207b authored by monty@work.mysql.com's avatar monty@work.mysql.com

Fixes for new build environment

parent 7155d2a1
...@@ -14,6 +14,7 @@ EXTRA_CONFIG="--without-perl" ...@@ -14,6 +14,7 @@ EXTRA_CONFIG="--without-perl"
echo "Building on $to_host" echo "Building on $to_host"
rm -rf $BD/* rm -rf $BD/*
rm -f $WD/binary/*
mkdir -p $WD/Logs mkdir -p $WD/Logs
mkdir -p $BD/Logs mkdir -p $BD/Logs
...@@ -86,3 +87,7 @@ fi ...@@ -86,3 +87,7 @@ fi
cd "$BD" cd "$BD"
DIST=`ls -t mysql-*.tar.gz | head -1` DIST=`ls -t mysql-*.tar.gz | head -1`
$BD/Build-tools/mysql-copyright --target=. $DIST $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
...@@ -66,6 +66,7 @@ if ($opt_stage == 0) ...@@ -66,6 +66,7 @@ if ($opt_stage == 0)
system("mkdir $host/test") if (! -d "$host/test"); system("mkdir $host/test") if (! -d "$host/test");
system("mkdir $host/bin") if (! -d "$host/bin"); system("mkdir $host/bin") if (! -d "$host/bin");
system("mkdir Logs") if (! -d "Logs"); system("mkdir Logs") if (! -d "Logs");
system("mv $log ${log}-old") if (-f $log);
unlink($log); unlink($log);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment