[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#581075: marked as done (cups: bashism in /bin/sh script)



Your message dated Tue, 18 Jun 2013 13:30:37 +0200
with message-id <201306181330.39254.odyx@debian.org>
and subject line Re: Bug#581075: cups: bashism in /bin/sh script
has caused the Debian Bug report #581075,
regarding cups: 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 owner@bugs.debian.org
immediately.)


-- 
581075: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=581075
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: cups
Severity: minor
Version: 1.4.3-1
User: debian-release@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/cups/examples/samba-to-ps line 38
> ('$((n++))' should be '$n; $((n=n+1))'):
>     echo "DEBUG: $prog: arg $((count++)): \"$x\"" >&2


Not using bash (or a Debian Policy compliant shell interpreter that doesn't
provide such an extra feature) as /bin/sh is likely to lead to errors or
unexpected behaviours. Please be aware that dash is now the default /bin/sh.

Hints about how to fix bashisms can be found at:
https://wiki.ubuntu.com/DashAsBinSh

If you still don't know how to fix the bashisms don't hesitate to reply to
this email, or tag the bug as 'help'.

Thank you,
Raphael Geissert



--- End Message ---
--- Begin Message ---
Version: 1.5.0-16

Le mardi, 11 mai 2010 06.57:16, Raphael Geissert a écrit :
> 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/cups/examples/samba-to-ps line 38
> > 
> > ('$((n++))' should be '$n; $((n=n+1))'):
> >     echo "DEBUG: $prog: arg $((count++)): \"$x\"" >&2
> 
> Not using bash (or a Debian Policy compliant shell interpreter that doesn't
> provide such an extra feature) as /bin/sh is likely to lead to errors or
> unexpected behaviours. Please be aware that dash is now the default
> /bin/sh.

samba-to-ps has been removed in cups 1.5.0-16:

> Also removed some obsolete or redundant filters/backends/PPDs: mailto,
> oopstops, dvipipetops, samba-to-ps, postscript.ppd, pdf.ppd.

That makes the bug "fixed" in that version.

Cheers, OdyX

Attachment: signature.asc
Description: This is a digitally signed message part.


--- End Message ---

Reply to: