mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Minor changes in netware directory (From Rob Lyon - Novell)
netware/mysql.xdc: Change mode to -rw-rw-r-- netware/BUILD/compile-AUTOTOOLS: Turned on error checking in all NetWare build scripts. netware/BUILD/compile-linux-tools: Turned on error checking in all NetWare build scripts. netware/BUILD/compile-netware-END: Turned on error checking in all NetWare build scripts. netware/BUILD/compile-netware-START: Turned on error checking in all NetWare build scripts. netware/BUILD/compile-netware-all: Turned on error checking in all NetWare build scripts. netware/BUILD/compile-netware-debug: Turned on error checking in all NetWare build scripts. netware/BUILD/compile-netware-standard: Turned on error checking in all NetWare build scripts. netware/BUILD/mwasmnlm: Turned on error checking in all NetWare build scripts. netware/BUILD/mwccnlm: Turned on error checking in all NetWare build scripts. netware/BUILD/mwldnlm: Turned on error checking in all NetWare build scripts. netware/BUILD/nwbootstrap: Add target path suffix
This commit is contained in:
@ -1,5 +1,11 @@
|
||||
#! /bin/sh
|
||||
|
||||
# debug
|
||||
#set -x
|
||||
|
||||
# stop on errors
|
||||
set -e
|
||||
|
||||
for package in . ./innobase
|
||||
do
|
||||
(cd $package
|
||||
|
@ -3,6 +3,9 @@
|
||||
# debug
|
||||
#set -x
|
||||
|
||||
# stop on errors
|
||||
set -e
|
||||
|
||||
if test ! -r ./sql/mysqld.cc
|
||||
then
|
||||
echo "you must start from the top source directory"
|
||||
|
@ -1,5 +1,11 @@
|
||||
#! /bin/sh
|
||||
|
||||
# debug
|
||||
#set -x
|
||||
|
||||
# stop on errors
|
||||
set -e
|
||||
|
||||
path=`dirname $0`
|
||||
|
||||
# clean
|
||||
|
@ -3,6 +3,9 @@
|
||||
# debug
|
||||
#set -x
|
||||
|
||||
# stop on errors
|
||||
set -e
|
||||
|
||||
if test ! -r ./sql/mysqld.cc
|
||||
then
|
||||
echo "you must start from the top source directory"
|
||||
|
@ -1,5 +1,11 @@
|
||||
#! /bin/sh
|
||||
|
||||
# debug
|
||||
#set -x
|
||||
|
||||
# stop on errors
|
||||
set -e
|
||||
|
||||
path=`dirname $0`
|
||||
|
||||
$path/compile-netware-standard
|
||||
|
@ -1,5 +1,11 @@
|
||||
#! /bin/sh
|
||||
|
||||
# debug
|
||||
#set -x
|
||||
|
||||
# stop on errors
|
||||
set -e
|
||||
|
||||
path=`dirname $0`
|
||||
. $path/compile-netware-START
|
||||
|
||||
|
@ -1,5 +1,12 @@
|
||||
#! /bin/sh
|
||||
|
||||
# debug
|
||||
#set -x
|
||||
|
||||
# stop on errors
|
||||
set -e
|
||||
|
||||
|
||||
path=`dirname $0`
|
||||
. $path/compile-netware-START
|
||||
|
||||
|
46
netware/BUILD/cron-build
Executable file
46
netware/BUILD/cron-build
Executable file
@ -0,0 +1,46 @@
|
||||
#! /bin/sh
|
||||
|
||||
# debug
|
||||
#set -x
|
||||
|
||||
# stop on errors
|
||||
set -e
|
||||
|
||||
# repository direcotry
|
||||
repo_dir=`pwd`
|
||||
|
||||
# show usage
|
||||
show_usage()
|
||||
{
|
||||
cat << EOF
|
||||
|
||||
usage: cron-patch
|
||||
|
||||
EOF
|
||||
exit 0;
|
||||
}
|
||||
|
||||
echo "starting build..."
|
||||
|
||||
# check for bk and repo_dir
|
||||
bk help > /dev/null
|
||||
repo_dir=`bk root $repo_dir`
|
||||
cd $repo_dir
|
||||
|
||||
# pull latest code
|
||||
echo 'y' | bk pull
|
||||
|
||||
# determine version
|
||||
version=`grep -e "AM_INIT_AUTOMAKE(mysql, .*)" < configure.in | sed -e "s/AM_INIT_AUTOMAKE(mysql, \(.*\))/\1/"`
|
||||
echo "version: $version"
|
||||
|
||||
# latest revision
|
||||
rev=`bk changes -e -n -d':REV:' | head -1`
|
||||
echo "latest revision: $rev"
|
||||
|
||||
# run bootstrap
|
||||
./netware/BUILD/nwbootstrap --revision=$rev --suffix=$rev --build=all
|
||||
|
||||
echo "done"
|
||||
|
||||
|
4
netware/BUILD/crontab
Executable file
4
netware/BUILD/crontab
Executable file
@ -0,0 +1,4 @@
|
||||
00 23 * * * (export PATH='/usr/local/bin:/usr/bin:/bin'; export DISPLAY=':0'; cd ~/bk/mysqldoc; echo 'y' | bk pull)
|
||||
00 00 * * * (export PATH='/usr/local/bin:/usr/bin:/bin'; export DISPLAY=':0'; cd ~/bk/mysql-4.0; ./netware/BUILD/cron-build)
|
||||
00 04 * * * (export PATH='/usr/local/bin:/usr/bin:/bin'; export DISPLAY=':0'; cd ~/bk/mysql-4.1; ./netware/BUILD/cron-build)
|
||||
|
@ -1,5 +1,8 @@
|
||||
#! /bin/sh
|
||||
|
||||
# stop on errors
|
||||
set -e
|
||||
|
||||
args=" $*"
|
||||
|
||||
wine --debugmsg -all -- mwasmnlm $args
|
||||
|
@ -1,5 +1,8 @@
|
||||
#! /bin/sh
|
||||
|
||||
# stop on errors
|
||||
set -e
|
||||
|
||||
# mwccnlm is having a hard time understanding "-I./../include"
|
||||
# convert it to "-I../include"
|
||||
args=" "`echo $* | sed -e 's/-I.\/../-I../g'`
|
||||
|
@ -1,5 +1,8 @@
|
||||
#! /bin/sh
|
||||
|
||||
# stop on errors
|
||||
set -e
|
||||
|
||||
args=" $*"
|
||||
|
||||
wine --debugmsg -all -- mwldnlm $args
|
||||
|
@ -3,11 +3,11 @@
|
||||
# debug
|
||||
#set -x
|
||||
|
||||
path=`dirname $0`
|
||||
|
||||
# stop on errors
|
||||
set -e
|
||||
|
||||
path=`dirname $0`
|
||||
|
||||
# repository direcotry
|
||||
repo_dir=`pwd`
|
||||
|
||||
@ -24,6 +24,7 @@ temp_dir=""
|
||||
revision=""
|
||||
rev=""
|
||||
build=""
|
||||
suffix=""
|
||||
mwenv=""
|
||||
|
||||
# show usage
|
||||
@ -81,6 +82,7 @@ for arg do
|
||||
--wine-build-dir=*) wine_build_dir=`echo "$arg" | sed -e "s;--wine-build-dir=;;"` ;;
|
||||
--revision=*) revision=`echo "$arg" | sed -e "s;--revision=;;"` ;;
|
||||
--build=*) build=`echo "$arg" | sed -e "s;--build=;;"` ;;
|
||||
--suffix=*) suffix=`echo "$arg" | sed -e "s;--suffix=;;"` ;;
|
||||
--doc-dir=*) doc_dir=`echo "$arg" | sed -e "s;--doc-dir=;;"` ;;
|
||||
*) show_usage ;;
|
||||
esac
|
||||
@ -111,6 +113,12 @@ echo "version: $version"
|
||||
# build target directory
|
||||
target_dir="$build_dir/mysql-$version"
|
||||
|
||||
# add suffix
|
||||
if test $suffix
|
||||
then
|
||||
target_dir="$target_dir-$suffix"
|
||||
fi
|
||||
|
||||
# delete any old target
|
||||
if test -d $target_dir.old; then rm -rf $target_dir.old; fi
|
||||
|
||||
|
Reference in New Issue
Block a user