summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authormonty@tik.mysql.fi <>2002-03-05 15:46:30 +0200
committermonty@tik.mysql.fi <>2002-03-05 15:46:30 +0200
commit539718ba25d93af7364d73ee1e8d909dc303643a (patch)
treec6069be49c4dde6952ca4a60d0897ab7d509c5b3 /mysql-test
parentb0f98a302ab46cbdf1db41ffbfb1931bb0232d6c (diff)
downloadmariadb-git-539718ba25d93af7364d73ee1e8d909dc303643a.tar.gz
Update scripts for new POSIX spec
Fix for --enable-local-infile Portability fix for bison
Diffstat (limited to 'mysql-test')
-rw-r--r--mysql-test/mysql-test-run.sh11
1 files changed, 6 insertions, 5 deletions
diff --git a/mysql-test/mysql-test-run.sh b/mysql-test/mysql-test-run.sh
index 09cdab9664b..76abbc75557 100644
--- a/mysql-test/mysql-test-run.sh
+++ b/mysql-test/mysql-test-run.sh
@@ -44,21 +44,22 @@ which ()
# No paths below as we can't be sure where the program is!
-BASENAME=`which basename | head -1`
-DIFF=`which diff | head -1`
+SED=sed
+
+BASENAME=`which basename | $SED q`
+DIFF=`which diff | $SED q`
CAT=cat
CUT=cut
TAIL=tail
ECHO=echo # use internal echo if possible
EXPR=expr # use internal if possible
FIND=find
-GCOV=`which gcov | head -1`
+GCOV=`which gcov | $SED q`
PRINTF=printf
RM=rm
TIME=time
TR=tr
-XARGS=`which xargs | head -1`
-SED=sed
+XARGS=`which xargs | $SED q`
# Are we using a source or a binary distribution?