~percona-dev/percona-innodb-plugin/percona-innodb-1.0

« back to all changes in this revision

Viewing changes to setup.sh

  • Committer: Vadim Tkachenko
  • Date: 2008-12-01 02:05:57 UTC
  • Revision ID: vadim@percona.com-20081201020557-p7k2m94mjtdg1a83
New rw-locks

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
#
 
3
# Prepare the MySQL source code tree for building
 
4
# with checked-out InnoDB Subversion directory.
 
5
 
 
6
# This script assumes that the current directory is storage/innobase.
 
7
 
 
8
set -eu
 
9
 
 
10
TARGETDIR=../storage/innobase
 
11
 
 
12
# link the build scripts
 
13
BUILDSCRIPTS="compile-innodb compile-innodb-debug"
 
14
for script in $BUILDSCRIPTS ; do
 
15
        ln -sf $TARGETDIR/$script ../../BUILD/
 
16
done
 
17
 
 
18
cd ../../mysql-test/t
 
19
ln -sf ../$TARGETDIR/mysql-test/*.test ../$TARGETDIR/mysql-test/*.opt .
 
20
cd ../r
 
21
ln -sf ../$TARGETDIR/mysql-test/*.result .
 
22
cd ../include
 
23
ln -sf ../$TARGETDIR/mysql-test/*.inc .