1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00

mysql-test-run.sh don't depend on 'tr'

This commit is contained in:
tim@threads.polyesthetic.msg
2001-04-14 09:35:42 -04:00
parent 714431e3a6
commit eb320ce7b0
2 changed files with 4 additions and 5 deletions

View File

@@ -1,3 +1 @@
heikki@donna.mysql.fi tim@threads.polyesthetic.msg
monty@donna.mysql.fi
sasha@mysql.sashanet.com

View File

@@ -24,10 +24,10 @@ PATH=/bin:/usr/bin:/usr/local/bin:/usr/bsd:/usr/X11R6/bin
which () which ()
{ {
DIRS=`echo $PATH | tr ":" " "` IFS="${IFS= }"; save_ifs="$IFS"; IFS=':'
for file for file
do do
for dir in $DIRS for dir in $PATH
do do
if test -f $dir/$file if test -f $dir/$file
then then
@@ -38,6 +38,7 @@ which ()
echo "which: no $file in ($PATH)" echo "which: no $file in ($PATH)"
exit 1 exit 1
done done
IFS="$save_ifs"
} }