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