summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authorunknown <monty@tik.mysql.fi>2002-03-05 15:46:30 +0200
committerunknown <monty@tik.mysql.fi>2002-03-05 15:46:30 +0200
commit326d80ea649ed1dd0d13640b6e95f5c1df1ae458 (patch)
treec6069be49c4dde6952ca4a60d0897ab7d509c5b3 /mysql-test
parent4c164621185c8493de06281ae68ef35f977c13a9 (diff)
downloadmariadb-git-326d80ea649ed1dd0d13640b6e95f5c1df1ae458.tar.gz
Update scripts for new POSIX spec
Fix for --enable-local-infile Portability fix for bison bdb/dist/s_recover: Update for new POSIX spec configure.in: Fix for --enable-local-infile libmysql/libmysql.c: Cleanup mysql-test/mysql-test-run.sh: Update for new POSIX spec scripts/safe_mysqld.sh: Update for new POSIX spec sql-bench/server-cfg.sh: Update for new POSIX spec sql/sql_yacc.yy: 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?