Raphael Geissert <[EMAIL PROTECTED]> writes: > Paul Wise wrote: >> There doesn't seem to be a lintian check for what Raphael has checked >> for though. Raphael, perhaps you could submit a bug+patch to lintian >> if you haven't already?
It's been a wishlist bug in lintian for eons. What needs to happen from the lintian perspective is to refactor check/scripts to pull the code for checking for bashisms into a module, and then apply that same code to check other shell scripts and to the (detabbed) shell constructs in debian/rules. Getting the interface to the module right may be a little tricky. > The script basically uses find on those directories (under /usr/share it > only searches for '*.sh') and then uses file on those to get a new list > of those file being shell scripts which are then checked with > checkbashisms. lintian shouldn't depend on checkbashisms. It already has its own implementation of this code (which from this thread is actually better). -- Russ Allbery ([EMAIL PROTECTED]) <http://www.eyrie.org/~eagle/> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]