2005-10-27 07:29:40 +00:00
|
|
|
#!/bin/bash
|
|
|
|
#
|
2005-10-27 07:51:34 +00:00
|
|
|
# Prepare the MySQL source code tree for building
|
|
|
|
# with checked-out InnoDB Subversion directory.
|
|
|
|
|
2006-10-03 13:10:20 +00:00
|
|
|
# This script assumes that the current directory is storage/innobase.
|
2005-10-27 07:29:40 +00:00
|
|
|
|
|
|
|
set -eu
|
|
|
|
|
2005-10-27 07:51:34 +00:00
|
|
|
TARGETDIR=../storage/innobase
|
2005-10-27 07:29:40 +00:00
|
|
|
|
2006-09-04 19:47:47 +00:00
|
|
|
# link the build scripts
|
2006-10-03 13:10:20 +00:00
|
|
|
ln -sf $TARGETDIR/compile-innodb{,-debug} ../../BUILD
|
2005-10-27 07:29:40 +00:00
|
|
|
|
2006-09-12 07:29:57 +00:00
|
|
|
cd ../../mysql-test/t
|
2007-05-14 09:07:15 +00:00
|
|
|
ln -sf ../$TARGETDIR/mysql-test/*.test ../$TARGETDIR/mysql-test/*.opt .
|
2006-10-03 13:10:20 +00:00
|
|
|
cd ../r
|
|
|
|
ln -sf ../$TARGETDIR/mysql-test/*.result .
|
|
|
|
cd ../include
|
|
|
|
ln -sf ../$TARGETDIR/mysql-test/*.inc .
|