Commit 01924c33 authored by monty@work.mysql.com's avatar monty@work.mysql.com

Updates for 3.23.24 build

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