From 326d80ea649ed1dd0d13640b6e95f5c1df1ae458 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 5 Mar 2002 15:46:30 +0200 Subject: 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 --- mysql-test/mysql-test-run.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'mysql-test') 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? -- cgit v1.2.1