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:

 # 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,

-- 
Chris Lamb, UK                                       [EMAIL PROTECTED]
                                                            GPG: 0x634F9A20

Attachment: signature.asc
Description: PGP signature

Reply via email to