From eb320ce7b03c26e6f813bf73d2999e7428464b7d Mon Sep 17 00:00:00 2001 From: "tim@threads.polyesthetic.msg" <> Date: Sat, 14 Apr 2001 09:35:42 -0400 Subject: mysql-test-run.sh don't depend on 'tr' --- BitKeeper/etc/logging_ok | 4 +--- mysql-test/mysql-test-run.sh | 5 +++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/BitKeeper/etc/logging_ok b/BitKeeper/etc/logging_ok index 0fc25615ebb..6656b1b43ac 100644 --- a/BitKeeper/etc/logging_ok +++ b/BitKeeper/etc/logging_ok @@ -1,3 +1 @@ -heikki@donna.mysql.fi -monty@donna.mysql.fi -sasha@mysql.sashanet.com +tim@threads.polyesthetic.msg diff --git a/mysql-test/mysql-test-run.sh b/mysql-test/mysql-test-run.sh index 1ee2786e2a2..f882f2d0ef5 100644 --- a/mysql-test/mysql-test-run.sh +++ b/mysql-test/mysql-test-run.sh @@ -24,10 +24,10 @@ PATH=/bin:/usr/bin:/usr/local/bin:/usr/bsd:/usr/X11R6/bin which () { - DIRS=`echo $PATH | tr ":" " "` + IFS="${IFS= }"; save_ifs="$IFS"; IFS=':' for file do - for dir in $DIRS + for dir in $PATH do if test -f $dir/$file then @@ -38,6 +38,7 @@ which () echo "which: no $file in ($PATH)" exit 1 done + IFS="$save_ifs" } -- cgit v1.2.1