[Debian] Re: Bug#581147: vzctl: bashism in /bin/sh script

Ola Lundqvist opal at debian.org
Sun May 16 06:20:52 EDT 2010


Hi Raphael

Thanks for the report. Will be solved now.

// Ola

On Tue, May 11, 2010 at 01:18:02AM -0500, Raphael Geissert wrote:
> Package: vzctl
> Severity: important
> Version: 3.0.23-15
> 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/sbin/vzmigrate line 128 (echo -e):
> >		  echo -e "Error: " $* >&2
> > possible bashism in ./usr/sbin/vzmigrate line 131 (echo -e):
> >		  echo -e $*
> > possible bashism in ./usr/sbin/vzmigrate line 134 (echo -e):
> >		  echo -e "   " $*
> 
> 
> 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
> 
> 
> 

-- 
 --------------------- Ola Lundqvist ---------------------------
/  opal at debian.org                     Annebergsslingan 37      \
|  ola at inguza.com                      654 65 KARLSTAD          |
|  http://inguza.com/                  +46 (0)70-332 1551       |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
 ---------------------------------------------------------------


More information about the Debian mailing list