summaryrefslogtreecommitdiff
path: root/Build-tools/Do-patch-file
diff options
context:
space:
mode:
Diffstat (limited to 'Build-tools/Do-patch-file')
-rwxr-xr-xBuild-tools/Do-patch-file4
1 files changed, 3 insertions, 1 deletions
diff --git a/Build-tools/Do-patch-file b/Build-tools/Do-patch-file
index a834b312fc2..5a26ac04a69 100755
--- a/Build-tools/Do-patch-file
+++ b/Build-tools/Do-patch-file
@@ -7,7 +7,7 @@ case $# in
esac
PVER=$1;
-VER=`grep SERVER_VERSION include/mysql_version.h | cut -d'"' -f2`
+VER=`grep SERVER_VERSION /my/tmp/BUILD/include/mysql_version.h | cut -d'"' -f2`
NEWDIR="binary"
NEW="mysql-$VER.tar.gz"
OLD="mysql-$PVER.tar.gz"
@@ -37,4 +37,6 @@ cd ../..
/bin/rm -rf patch
chmod a+r,o-w $RESULT binary/*
mv $RESULT $PATCH_DIR
+cp binary/mysqlcom-* /net/web/home/production/data/nweb/customer/
+rm binary/mysqlcom-*
cp binary/* $RESULT_DIR