Your message dated Sat, 10 Dec 2016 21:26:27 +0100
with message-id <[email protected]>
and subject line Re: Bug#690627: asterisk: bashism in /bin/sh script
has caused the Debian Bug report #690627,
regarding asterisk: bashism in /bin/sh script
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
690627: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=690627
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: asterisk
Version: 1.8.13.1~dfsg-1
Severity: important
User: [email protected]
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/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

Not using bash (or a Debian Policy conformant shell interpreter which 
doesn't provide such an extra feature) as /bin/sh is likely to lead to 
errors or unexpected behaviours.

You can find hints about how to fix bashisms at:
https://wiki.ubuntu.com/DashAsBinSh

Thank you,
Raphael Geissert

--- End Message ---
--- Begin Message ---
Version: 1:13.0.0~dfsg-1

On Tue, Oct 16, 2012 at 01:31:02PM +0200, Tzafrir Cohen wrote:

> 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).

Landed in Asterisk 13.

Bernhard

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to