Bug#530046: asterisk-doc: bashism in /bin/sh script

Tzafrir Cohen tzafrir.cohen at xorcom.com
Sat May 23 10:16:05 UTC 2009


On Sat, May 23, 2009 at 12:05:52AM -0500, Raphael Geissert wrote:
> Package: asterisk-doc
> Severity: minor
> Version: 1:1.6.1.0~dfsg-1
> User: debian-release at lists.debian.org
> Usertags: goal-dash
> 
> Hello maintainer,
> 
> While performing an archive wide checkbashisms (from the 'devscripts' package)
> check I've found your package containing a /bin/sh script making use
> of a bashism.
> 
> checkbashisms' output:
> > possible bashism in
> > ./usr/share/doc/asterisk-doc/contrib/init.d/rc.mandriva.zaptel line 32
> > ('function' is useless):
> > function probe() {
> > possible bashism in
> > ./usr/share/doc/asterisk-doc/contrib/init.d/rc.mandriva.zaptel line 44
> > ('function' is useless):
> > function unprobe() {
> > possible bashism in
> > ./usr/share/doc/asterisk-doc/contrib/init.d/rc.mandriva.zaptel line 56
> > ('function' is useless):
> > function reverse_modules() {
> > possible bashism in

As their name suggests, those scripts are not intended to be used in a
Debian system. They are included as the whole contrib directory is
included. 

This script specifically has also been removed from upstream as it is
pointless even there. (in trunk, targeted for 1.6.3, which may or may 
not make it into Squeeze).

So if it really bothers anybody, we can just actively remove that
script. I think that in this case it is not worth the extra bother.

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir





More information about the Pkg-voip-maintainers mailing list