On Tue, Jun 27, 2017 at 09:03:16AM +0200, Ralf Treinen wrote: > On Mon, Jun 26, 2017 at 11:09:26PM +0200, Mattia Rizzolo wrote: > > On Mon, Jun 26, 2017 at 10:23:56PM +0200, Ralf Treinen wrote: > > > we currently have in sid 84 maintainer scripts not using strict mode. > > > That is, they neither start on "#!/bin/[ba]sh -e", nor do a "set -e". > > > The list is attached. This list includes the 12 remaining scripts not > > > starting on #! (bugs are already filed for these). > > sigh. > > And using `#!/bin(ba)?sh -e` is not good either (there is a lintian tag > > about it, iirc). > what is the rationale for this? Is anyone calling maintainer scripts > like "sh <script>" ? More typically, 'sh -x <script>' for debugging and you don't want the behavior to change except the -x. -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. Ubuntu Developer http://www.debian.org/ slangasek@ubuntu.com vorlon@debian.org
Attachment:
signature.asc
Description: PGP signature