summaryrefslogtreecommitdiff
path: root/support-files/mysql.server.sh
diff options
context:
space:
mode:
authorjoerg@mysql.com <>2005-03-30 18:38:54 +0200
committerjoerg@mysql.com <>2005-03-30 18:38:54 +0200
commit1314c4aaee99ea14e44197bb000e4a8da0b73365 (patch)
tree3a578b15ce808efa42a7b3687a661b8d8754506f /support-files/mysql.server.sh
parent8e238f22b789c3e99f6e377ff344de6027d440f5 (diff)
downloadmariadb-git-1314c4aaee99ea14e44197bb000e4a8da0b73365.tar.gz
Portability fix (avoid bash-ism).
Diffstat (limited to 'support-files/mysql.server.sh')
-rw-r--r--support-files/mysql.server.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/support-files/mysql.server.sh b/support-files/mysql.server.sh
index 4283af919a5..aafd3f8f187 100644
--- a/support-files/mysql.server.sh
+++ b/support-files/mysql.server.sh
@@ -87,10 +87,12 @@ parse_arguments() {
}
wait_for_pid () {
- for((i=0; i<35; i++)); do
+ i=0
+ while test $i -lt 35 ; do
sleep 1
test -s $pid_file && i='' && break
echo $echo_n ".$echo_c"
+ i=`expr $i + 1`
done
if test -z "$i" ; then