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

Bug#568926: lintian seems to insist on set -e and doesn't like #!/bin/sh -e



Gerfried Fuchs <rhonda@debian.at> writes:

>  In a maintainerscript that starts off with "#!/bin/sh -e" an additional
> "set -e" doesn't make much sense - though it seems like lintian insists
> on this style. It would be pretty convenient if lintian would allow
> handing the -e on the shebang line too.

Lintian should support either but give you an info-level tag for using the
first form, which includes an explanation for why this is not the
recommended style.  Is that not the behavior that you're seeing?

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>



Reply to: