[Pkg-hpijs-devel] Bug#690625: hplip: bashism in /bin/sh script

Raphael Geissert atomo64 at gmail.com
Tue Oct 16 02:43:53 UTC 2012


Package: hplip
Version: 3.12.6-3
Severity: normal
User: debian-release at 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/bug/hplip/script line 4 (read with option 
other than -r):
>    read -p "Do you wish to include your system configuration with this
>    report (hp-check -r)? " yn

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



More information about the Pkg-hpijs-devel mailing list