Bug#537609: thinks commands are used in scripts while only mentioned in (not called!) functions
Rene Engelhard <rene@debian.org> writes:
> Russ Allbery wrote:
>> Again here, Lintian has no real hope of being able to figure this out.
>> When you're doing unusual things like this, you're going to need to use
>> overrides.
> I don't see how this is uncommon..
Well, this is the first report of it that we've ever gotten.
> And how can't lintian find that out? You probably are able to know when
> the command appears in a function,
Lintian has no idea whether something is in a function. It would probably
be a nice thing to have, but that's rather more than Lintian is capable of
understanding shell at the moment.
Russ Allbery (rra@debian.org) <http://www.eyrie.org/~eagle/>
Reply to: