diff options
author | tim@threads.polyesthetic.msg <> | 2001-04-14 09:38:43 -0400 |
---|---|---|
committer | tim@threads.polyesthetic.msg <> | 2001-04-14 09:38:43 -0400 |
commit | af816a16fc956fc3886f659c186da512ae8cfcd2 (patch) | |
tree | 5f81be3e23ed43e08cf32ef6758ce728b4ac91f0 /mysql-test | |
parent | 2ba11380eb606acc8b57d0039ab3272206dfd9f3 (diff) | |
parent | eb320ce7b03c26e6f813bf73d2999e7428464b7d (diff) | |
download | mariadb-git-af816a16fc956fc3886f659c186da512ae8cfcd2.tar.gz |
Merge
Diffstat (limited to 'mysql-test')
-rw-r--r-- | mysql-test/mysql-test-run.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mysql-test/mysql-test-run.sh b/mysql-test/mysql-test-run.sh index c9a4d56b75a..c42485c753f 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" } |