summaryrefslogtreecommitdiff
path: root/netware/BUILD
diff options
context:
space:
mode:
authorChad MILLER <chad@mysql.com>2008-08-18 11:08:57 -0400
committerChad MILLER <chad@mysql.com>2008-08-18 11:08:57 -0400
commitd5f5db845220cab60d82d0a1667c5dff6774e902 (patch)
tree9f0d487c241e35ad92c5d81132c46c179b6ee56c /netware/BUILD
parent86fd86ed9839204be5bbae11bc19a3e1a3728332 (diff)
parent9f277e55549f2581aef45e8d098d2cda366bb2c1 (diff)
downloadmariadb-git-d5f5db845220cab60d82d0a1667c5dff6774e902.tar.gz
Merge from 5.0-bugteam local.
Diffstat (limited to 'netware/BUILD')
-rwxr-xr-xnetware/BUILD/compile-linux-tools3
-rwxr-xr-xnetware/BUILD/nwbootstrap8
2 files changed, 8 insertions, 3 deletions
diff --git a/netware/BUILD/compile-linux-tools b/netware/BUILD/compile-linux-tools
index 02c11998365..6a6abd32639 100755
--- a/netware/BUILD/compile-linux-tools
+++ b/netware/BUILD/compile-linux-tools
@@ -53,6 +53,9 @@ make
# so the file will be linked
(cd sql; make sql_yacc.cc)
+# we need initilizing SQL files.
+(cd netware; make test_db.sql init_db.sql)
+
# copying required linux tools
cp extra/comp_err extra/comp_err.linux
cp libmysql/conf_to_src libmysql/conf_to_src.linux
diff --git a/netware/BUILD/nwbootstrap b/netware/BUILD/nwbootstrap
index 590231cc3f6..4dc2ea6fa37 100755
--- a/netware/BUILD/nwbootstrap
+++ b/netware/BUILD/nwbootstrap
@@ -91,8 +91,8 @@ done
echo "starting build..."
# check for bk and repo_dir
-bk help > /dev/null
-repo_dir=`bk root $repo_dir`
+bzr help > /dev/null
+repo_dir=`bzr root $repo_dir`
cd $repo_dir
doc_dir="$repo_dir/../mysqldoc"
@@ -100,7 +100,7 @@ doc_dir="$repo_dir/../mysqldoc"
temp_dir="$build_dir/mysql-$$.tmp"
# export the bk tree
-command="bk export";
+command="bzr export";
if test $revision; then command="$command -r$revision"; fi
command="$command $temp_dir"
echo "exporting $repo_dir..."
@@ -183,6 +183,8 @@ awk 'BEGIN{x=0;} END{printf("\n");} x==1 {printf(" %s",$1); x++; next} x>1 {pri
# build linux tools
echo "compiling linux tools..."
./netware/BUILD/compile-linux-tools
+test -f ./netware/init_db.sql # this must exist
+test -f ./netware/test_db.sql # this must exist
# compile
if test $build