mariadb/setup.sh
vasil fc3f412b70 * Make ./setup.sh sh compliant by avoiding bash-specific syntax.
* Make the heading line #!/bin/sh. /bin/bash is non-standard.

Approved by:	Marko
2007-10-31 08:27:53 +00:00

23 lines
576 B
Bash
Executable file

#!/bin/sh
#
# Prepare the MySQL source code tree for building
# with checked-out InnoDB Subversion directory.
# This script assumes that the current directory is storage/innobase.
set -eu
TARGETDIR=../storage/innobase
# link the build scripts
BUILDSCRIPTS="compile-innodb compile-innodb-debug"
for script in $BUILDSCRIPTS ; do
ln -sf $TARGETDIR/$script ../../BUILD/
done
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 .