Loading Build-tools/Do-all-build-steps +2 −2 Original line number Diff line number Diff line Loading @@ -24,9 +24,9 @@ set -x # Move to the right place cd "$WD" # Create a build directory tree bk export -w $BD chmod a+x $BD/mit-pthreads/config/configure $BD/Build-tools/* $BD/tests/*.pl bk export $BD cd "$BD" chmod -R a+rw,g+rw . #Make it easy to remove an old build umask 002 Loading Build-tools/Do-patch-file +8 −9 Original line number Diff line number Diff line Loading @@ -8,15 +8,16 @@ esac PVER=$1; VER=`grep SERVER_VERSION include/mysql_version.h | cut -d'"' -f2` NEWDIR="binary" NEW="mysql-$VER.tar.gz" OLD="mysql-$PVER.tar.gz" RESULT="mysql-$PVER-$VER.patch.gz" PATCH_DIR=/my/web/Site/html/Downloads/Patches RESULT_DIR=/my/web/Site/html/Downloads/MySQL-3.23 PATCH_DIR=/my/web/Downloads-live/Patches RESULT_DIR=/my/web/Downloads-live/MySQL-3.23 if test ! -f $NEW if test ! -f $NEWDIR/$NEW then echo "$NEW doesn't exist"; echo "$NEWDIR/$NEW doesn't exist"; exit 1; fi Loading @@ -28,14 +29,12 @@ fi mkdir patch cd patch gtar xfz ../$NEW gtar xfz ../$NEWDIR/$NEW gtar xfz $RESULT_DIR/$OLD cd mysql-$PVER diff --context --new-file --recursive . ../mysql-$VER | gzip -9 > ../../$RESULT cd ../.. /bin/rm -rf patch #chown mysql $RESULT $NEW binary/* chmod a+r,o-w $RESULT $NEW binary/* chmod a+r,o-w $RESULT binary/* mv $RESULT $PATCH_DIR mv $NEW $RESULT_DIR cp binary/* NEW-RPMS/* $RESULT_DIR cp binary/* $RESULT_DIR Loading
Build-tools/Do-all-build-steps +2 −2 Original line number Diff line number Diff line Loading @@ -24,9 +24,9 @@ set -x # Move to the right place cd "$WD" # Create a build directory tree bk export -w $BD chmod a+x $BD/mit-pthreads/config/configure $BD/Build-tools/* $BD/tests/*.pl bk export $BD cd "$BD" chmod -R a+rw,g+rw . #Make it easy to remove an old build umask 002 Loading
Build-tools/Do-patch-file +8 −9 Original line number Diff line number Diff line Loading @@ -8,15 +8,16 @@ esac PVER=$1; VER=`grep SERVER_VERSION include/mysql_version.h | cut -d'"' -f2` NEWDIR="binary" NEW="mysql-$VER.tar.gz" OLD="mysql-$PVER.tar.gz" RESULT="mysql-$PVER-$VER.patch.gz" PATCH_DIR=/my/web/Site/html/Downloads/Patches RESULT_DIR=/my/web/Site/html/Downloads/MySQL-3.23 PATCH_DIR=/my/web/Downloads-live/Patches RESULT_DIR=/my/web/Downloads-live/MySQL-3.23 if test ! -f $NEW if test ! -f $NEWDIR/$NEW then echo "$NEW doesn't exist"; echo "$NEWDIR/$NEW doesn't exist"; exit 1; fi Loading @@ -28,14 +29,12 @@ fi mkdir patch cd patch gtar xfz ../$NEW gtar xfz ../$NEWDIR/$NEW gtar xfz $RESULT_DIR/$OLD cd mysql-$PVER diff --context --new-file --recursive . ../mysql-$VER | gzip -9 > ../../$RESULT cd ../.. /bin/rm -rf patch #chown mysql $RESULT $NEW binary/* chmod a+r,o-w $RESULT $NEW binary/* chmod a+r,o-w $RESULT binary/* mv $RESULT $PATCH_DIR mv $NEW $RESULT_DIR cp binary/* NEW-RPMS/* $RESULT_DIR cp binary/* $RESULT_DIR