Testsuite: wait for MySQL DB startup before inserting data
[exim.git] / test / bin / locate.sh
1 #!/bin/sh
2
3 [ -d bin.sys ] || mkdir bin.sys
4 cd bin.sys
5
6 while read d
7 do
8   if [ -x $d/$1 ]
9   then
10     while [ $# -gt 0 ]
11     do
12       rm -f ./$1
13       ln -s $d/$1 .
14       shift
15     done
16     exit 0
17   fi
18 done <<-HERE
19         /bin
20         /usr/bin
21         /usr/local/bin
22         /usr/lib/postgresql/10/bin
23         /usr/lib/postgresql/9/bin
24 HERE
25