#!/bin/bash WD=`pwd` BD=/my/tmp/BUILD TMP_SCRIPT=$WD/Logs/00-temp-for-do-all-build-steps.$$ # We build on work to_host=`hostname` cc=gcc ccc=gcc EXTRA_CONFIG="--without-perl" echo "Building on $to_host" mkdir -p $WD/Logs mkdir -p $BD/Logs cat > $TMP_SCRIPT < $log 2>&1 else time bash $TMP_SCRIPT > $log 2>&1 fi # Create a commercial MySQL distribution (mysqlcom-VER.tar.gz) from # the newly made source distribution DIST=`ls -t mysql-*.tar.gz | head -1` sh $BD/Build-tools/mysql-copyright --target=. $DIST