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
# 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
......
......@@ -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
......@@ -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
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