[debian-mysql] Bug#778678: Bug#778678: mysql-server: still some bashism
Bjoern Boschman
bjoern at boschman.de
Wed Feb 18 12:42:49 UTC 2015
now I'm confused - I thought it should b a noGo to use /bin/bash
within maintainer scripts - but it seems to apply more to init scripts
rather then additional scripts.
can anybody enlighten me?
2015-02-18 13:18 GMT+01:00 Norvald H. Ryeng <norvald.ryeng at oracle.com>:
> On Wed, 18 Feb 2015 12:29:21 +0100, Bjoern Boschman <bjoern at boschman.de>
> wrote:
>
>> Package: mysql-server
>> Version: 5.5.42-1
>> Severity: important
>>
>> Hi guys,
>>
>> unfortunatelly i found some bashism still used.
>>
>> additions/echo_stderr:#!/bin/bash
>> additions/mysql-systemd-start:#!/bin/bash
>> additions/debian-start:#!/bin/bash
>> additions/debian-start.inc.sh:#!/bin/bash
>> mysql-common.postrm:#!/bin/bash
>> mysql-server-5.6.config:#!/bin/bash
>> mysql-server-5.6.mysql.init:#!/bin/bash
>> mysql-server-5.6.postinst:#!/bin/bash
>> mysql-server-5.6.postrm:#!/bin/bash
>> mysql-server-5.6.preinst:#!/bin/bash
>> mysql-server-5.6.prerm:#!/bin/bash
>>
>> this also applies to mysql-5.5 and mariadb-10
>
>
> That shouldn't be a problem as long as they use /bin/bash. But I won't mind
> if you get rid of the bashisms and convert them to /bin/sh.
>
> Regards,
>
> Norvald H. Ryeng
--
Mit freundlich Grüßen / Kind regards
Björn Boschman
More information about the pkg-mysql-maint
mailing list