mariadb/setup.sh

24 lines
576 B
Bash
Raw Normal View History

#!/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.
# 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
# link the build scripts
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
cd ../../mysql-test/t
ln -sf ../$TARGETDIR/mysql-test/*.test ../$TARGETDIR/mysql-test/*.opt .
cd ../r
ln -sf ../$TARGETDIR/mysql-test/*.result .
cd ../include
ln -sf ../$TARGETDIR/mysql-test/*.inc .