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

Bug#478192: maintainer-shell-script-fails-syntax-check should be more consistent



On Sun, Apr 27, 2008 at 05:02:29PM -0500, Raphael Geissert wrote:
> checks/scripts:
> >     my $checkbashisms;
> >     if ($shellscript) {
> >         $checkbashisms = $base eq "sh" ? 1 : 0;
> >         if ($base eq 'sh' or $base eq 'bash') {
> >             if (check_script_syntax("/bin/$base", $filename)) {
> >                 tag("maintainer-shell-script-fails-syntax-check", $file);
> >             }
> >         }
> >     }
> 
> IMHO for the sake of consistency lintian should use the same interpreter when 
> checking for sh scripts (i.e. use /bin/bash instead of /bin/sh which can be 
> linked to <insert your favourite policy-compliant sh interpreter here>).

I agree.

Gruesse,
-- 
Frank Lichtenheld <djpig@debian.org>
www: http://www.djpig.de/



Reply to: