diff options
author | unknown <msvensson@neptunus.(none)> | 2006-04-19 16:23:35 +0200 |
---|---|---|
committer | unknown <msvensson@neptunus.(none)> | 2006-04-19 16:23:35 +0200 |
commit | f2ad5332f3ad604ccdaa8050a90387a86d3c7a70 (patch) | |
tree | f75be714bd2da506500087b90f08b87cd51ca835 /mysql-test/mysql-test-run.sh | |
parent | fb62bcb0021b1ac7425e3ddfc41d6458e1f76aac (diff) | |
download | mariadb-git-f2ad5332f3ad604ccdaa8050a90387a86d3c7a70.tar.gz |
Bug#19190 syntax error in mysql-test/mysql-test-run.sh script
mysql-test/mysql-test-run.sh:
Use 'test', not '[' as the shell builtin might not have '-L
Diffstat (limited to 'mysql-test/mysql-test-run.sh')
-rw-r--r-- | mysql-test/mysql-test-run.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mysql-test/mysql-test-run.sh b/mysql-test/mysql-test-run.sh index d7e976f9d49..e3a3e3334e4 100644 --- a/mysql-test/mysql-test-run.sh +++ b/mysql-test/mysql-test-run.sh @@ -631,7 +631,9 @@ fi [ -d $MYSQL_TEST_DIR/var/tmp ] || mkdir $MYSQL_TEST_DIR/var/tmp [ -d $MYSQL_TEST_DIR/var/run ] || mkdir $MYSQL_TEST_DIR/var/run [ -d $MYSQL_TEST_DIR/var/log ] || mkdir $MYSQL_TEST_DIR/var/log -if ! test -L $MYSQL_TEST_DIR/var/std_data_ln ; then + +# Use 'test', not '[' as the shell builtin might not have '-L +if test ! -L "$MYSQL_TEST_DIR/var/std_data_ln" ; then ln -s $MYSQL_TEST_DIR/std_data/ $MYSQL_TEST_DIR/var/std_data_ln fi |