Bug#690627: asterisk: bashism in /bin/sh script
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Tue Oct 16 11:31:02 UTC 2012
On Mon, Oct 15, 2012 at 09:52:23PM -0500, Raphael Geissert wrote:
> 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/sbin/autosupport line 36 (should be 'b = a'):
> > if [ $1 == "-h" ] || [ $1 == "--help" ]; then
> >possible bashism in ./usr/sbin/autosupport line 56 (should be 'b = a'):
> > elif [ $1 == "-n" ] || [ $1 == "--non-interactive" ]; then
Thanks. From a quick look at the script I did not find any other bashism
issues. I did find another minor issue:
https://issues.asterisk.org/jira/browse/ASTERISK-20567
(patch there for the bashism issue).
--
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