mirror of
https://github.com/MariaDB/server.git
synced 2025-01-26 00:34:18 +01:00
* Make ./setup.sh sh compliant by avoiding bash-specific syntax.
* Make the heading line #!/bin/sh. /bin/bash is non-standard. Approved by: Marko
This commit is contained in:
parent
0924601f0d
commit
9287a6f708
1 changed files with 5 additions and 2 deletions
7
setup.sh
7
setup.sh
|
@ -1,4 +1,4 @@
|
||||||
#!/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
|
||||||
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 .
|
||||||
|
|
Loading…
Add table
Reference in a new issue