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

Bug#690721: marked as done (linux-kbuild-3.2: bashism in /bin/sh script)



Your message dated Sat, 24 Apr 2021 13:56:12 +0200
with message-id <YIQHXGijn9WzbHFK@eldamar.lan>
and subject line Re: Bug#690721: linux-kbuild-3.2: bashism in /bin/sh script
has caused the Debian Bug report #690721,
regarding linux-kbuild-3.2: 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.)


-- 
690721: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=690721
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: linux-kbuild-3.2
Version: 3.2.17-1
Severity: important
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/lib/linux-kbuild-3.2/scripts/setlocalversion line 
90 (should be 'b = a'):
>                if [ "`hg log -r . --template '{latesttagdistance}'`" ==
>                "1" ]; then

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

--- End Message ---
--- Begin Message ---
Hi,

On Tue, Oct 16, 2012 at 01:11:15PM -0500, Raphael Geissert wrote:
> Package: linux-kbuild-3.2
> Version: 3.2.17-1
> Severity: important
> 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/lib/linux-kbuild-3.2/scripts/setlocalversion line 
> 90 (should be 'b = a'):
> >                if [ "`hg log -r . --template '{latesttagdistance}'`" ==
> >                "1" ]; then
> 
> 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

This seems to have been resolved at some point, but I have not tried
to track this down to the exact version. Please reopen as well the bug
if you disagree.

Regards,
Salvatore

--- End Message ---

Reply to: