summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Black <daniel@linux.ibm.com>2018-05-29 14:31:53 +1000
committerOtto Kekäläinen <otto@mariadb.org>2018-06-05 13:39:20 +0300
commitc10bed17ddaaa2635fe758a47d89a12c4169e31e (patch)
tree8f438d316c1fb4501d403a2c176202407f125174 /scripts
parent106f0b5798a2b5d13b7d67c3cc678fc0cc2184c2 (diff)
downloadmariadb-git-c10bed17ddaaa2635fe758a47d89a12c4169e31e.tar.gz
mysqld_safe: use sh not bash
c902d5a4ded2a492eb47379910111717dbded2d3 changed this to bash. This isn't approprate as mysqld_safe is used by FreeBSD where there is no bash by default. The original reason to use bash seems related to MDEV-3279 which was a dash bug fixed in 2009 - https://git.kernel.org/pub/scm/utils/dash/dash.git/commit/?id=3800d4934391b144fd261a7957aea72ced7d47ea Working around 9 year old fixed bugs shouldn't be done here.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/mysqld_safe.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mysqld_safe.sh b/scripts/mysqld_safe.sh
index 696ac552fad..2abdfd7faf5 100644
--- a/scripts/mysqld_safe.sh
+++ b/scripts/mysqld_safe.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
# Copyright Abandoned 1996 TCX DataKonsult AB & Monty Program KB & Detron HB
# This file is public domain and comes with NO WARRANTY of any kind
#