Bug#460664: lintian: check for bashisms in debian/rules
Package: lintian
Version: 1.23.42
Severity: wishlist
Hi,
Lintian already checks for bashisms in maintainer scripts. I'd like
those tests to also apply to debian/rules. A number of packages FTBFS
when built with dash as /bin/sh, or produce packages with a different
content.
Using lintian to get a list of those would be interesting, especially
since some bashisms cause non-deterministic failures. A cool example is
the patch of bug #374004, which replaces a bashism that causes the build
to fail with a bashism that causes "rm -rf debian/tmp" to be executed in
a subshell. (!)
--
| Lucas Nussbaum
| lucas@lucas-nussbaum.net http://www.lucas-nussbaum.net/ |
| jabber: lucas@nussbaum.fr GPG: 1024D/023B3F4F |
Reply to: