Commit fc3f412b authored by vasil's avatar vasil

* Make ./setup.sh sh compliant by avoiding bash-specific syntax.

* Make the heading line #!/bin/sh. /bin/bash is non-standard.

Approved by:	Marko
parent 0c04ac85
#!/bin/bash #!/bin/sh
# #
# Prepare the MySQL source code tree for building # Prepare the MySQL source code tree for building
# with checked-out InnoDB Subversion directory. # with checked-out InnoDB Subversion directory.
...@@ -10,7 +10,10 @@ set -eu ...@@ -10,7 +10,10 @@ set -eu
TARGETDIR=../storage/innobase TARGETDIR=../storage/innobase
# link the build scripts # link the build scripts
ln -sf $TARGETDIR/compile-innodb{,-debug} ../../BUILD BUILDSCRIPTS="compile-innodb compile-innodb-debug"
for script in $BUILDSCRIPTS ; do
ln -sf $TARGETDIR/$script ../../BUILD/
done
cd ../../mysql-test/t cd ../../mysql-test/t
ln -sf ../$TARGETDIR/mysql-test/*.test ../$TARGETDIR/mysql-test/*.opt . ln -sf ../$TARGETDIR/mysql-test/*.test ../$TARGETDIR/mysql-test/*.opt .
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment