diff options
author | tim@threads.polyesthetic.msg <> | 2001-04-14 09:35:42 -0400 |
---|---|---|
committer | tim@threads.polyesthetic.msg <> | 2001-04-14 09:35:42 -0400 |
commit | eb320ce7b03c26e6f813bf73d2999e7428464b7d (patch) | |
tree | 80a4e39177b410a9d34fee5ca8cf1f9c691c4969 | |
parent | 714431e3a67b3e10ac11e5ca322862415bc47dc0 (diff) | |
download | mariadb-git-eb320ce7b03c26e6f813bf73d2999e7428464b7d.tar.gz |
mysql-test-run.sh don't depend on 'tr'
-rw-r--r-- | BitKeeper/etc/logging_ok | 4 | ||||
-rw-r--r-- | 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" } |