Matthias Klose <[EMAIL PROTECTED]> writes:

> Package: lintian

> E: gcc-4.1-source: shell-script-fails-syntax-check 
> ./usr/src/gcc-4.1/patches/ppc64-ada.dpatch
> E: gcc-4.1-source: shell-script-fails-syntax-check 
> ./usr/src/gcc-4.1/patches/gccbug.dpatch

> not sure, if I should mark them with an overrides file or if that
> could be fixed in lintian

Ah, I see, bash -n doesn't stop checking at "exit 0".  Which makes sense;
the exit could be conditional and the flow control understanding required
to establish that it's not is probably hard to do.

I think the right solution may be for lintian to ignore shell scripts with
a suffix of .dpatch in /usr/src.

-- 
Russ Allbery ([EMAIL PROTECTED])               <http://www.eyrie.org/~eagle/>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to