Bug#331223: devscripts: FTBFS with /bin/sh - dash
Package: devscripts Version: 0.9.7 Severity: minor My /bin/sh is dash rather than bash. Building devscripts: ... sh -n cvs-debrelease cvs-debrelease: 111: Syntax error: ( unexpected (expecting fi) make[1]: *** [cvs-debrelease] Error 2 It works if I change 'sh -n' to 'bash -n', but that's suboptimal, as it won't catch inadvertent bashisms in #!/bin/sh scripts. signature.asc Description: Digital signature
Bug#331223: devscripts: FTBFS with /bin/sh - dash
Peter Samuelson wrote: My /bin/sh is dash rather than bash. Building devscripts: ... sh -n cvs-debrelease cvs-debrelease: 111: Syntax error: ( unexpected (expecting fi) make[1]: *** [cvs-debrelease] Error 2 It works if I change 'sh -n' to 'bash -n', but that's suboptimal, as it won't catch inadvertent bashisms in #!/bin/sh scripts. cvs-debrelease is full of bashisms. Imho putting /bin/bash at the top is the best fix unless someone wants to do a full audit. -- see shy jo signature.asc Description: Digital signature
Bug#331223: devscripts: FTBFS with /bin/sh - dash
[Joey Hess] cvs-debrelease is full of bashisms. Imho putting /bin/bash at the top is the best fix unless someone wants to do a full audit. Oh, it uses #!/bin/bash already. It's just the makefile that uses sh -n for sanity checking at package build time. signature.asc Description: Digital signature