[debian-mysql] Bug#778678: Bug#778678: mysql-server: still some bashism

Norvald H. Ryeng norvald.ryeng at oracle.com
Wed Feb 18 12:51:07 UTC 2015


On Wed, 18 Feb 2015 13:42:49 +0100, Bjoern Boschman <bjoern at boschman.de>  
wrote:

> 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?

AFAIK the rule is to not use bash specific syntax (bashisms) in scripts  
run with /bin/sh. If you use /bin/bash, you can use all the bashisms you  
want.

Of course, sticking to strict POSIX sh is generally a good thing, but I  
think we have more important things to work on just now.

Regards,

Norvald H. Ryeng



More information about the pkg-mysql-maint mailing list