Your message dated Tue, 8 Apr 2008 17:14:49 -0500
with message-id <[EMAIL PROTECTED]>
and subject line Re: netpbm: bashism in /bin/sh script
has caused the Debian Bug report #471881,
regarding netpbm: 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.)
--
471881: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=471881
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: netpbm
Severity: important
Version: 10.0-11.1
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/bin/pamstretch-gen line 44 (should be VAR="$VAR
> foo"): int_width+='"$width"'
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.
Please be aware that although bash is currently the default /bin/sh there's a
release goal for Lenny to make dash the default /bin/sh[1].
If you want more information about dash as /bin/sh, you can read:
http://lists.debian.org/debian-release/2008/01/msg00189.html
https://wiki.ubuntu.com/DashAsBinSh
For more information please refer to the Debian Policy section 10.4 supporting
this argument at:
http://www.debian.org/doc/debian-policy/ch-files.html#s-scripts
HINT: sometimes these bugs are already fixed in Ubuntu, look at the PTS
[1]http://release.debian.org/lenny/goals.txt
Thank you,
--
Atomo64 - Raphael
Please avoid sending me Word, PowerPoint or Excel attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
--- End Message ---
--- Begin Message ---
On Tuesday 08 April 2008, Chris Lamb wrote:
> 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/bin/pamstretch-gen line 44 (should be
> > > VAR="$VAR foo"): int_width+='"$width"'
>
> This seems to be a false positive - this is in awk code:
Confirmed.
Latest checkbashisms no longer reports any bashism on that file thereby
closing this report.
>
> # work out how far we have to scale it up with pnmstretch so that the
> # new width is >= the target width.
> int_scale=`awk '
> BEGIN {
> int_scale=1;int_width='"$width"'
> while(int_width<'"$target_width"')
> {
> int_scale++
> int_width+='"$width"' <== line 44
> }
> print int_scale
> }'`
>
>
> Regards,
P.S. thanks for your mass bug patching :)
Cheers,
--
Atomo64 - Raphael
Please avoid sending me Word, PowerPoint or Excel attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
signature.asc
Description: This is a digitally signed message part.
--- End Message ---