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

Attachment: signature.asc
Description: Digital signature

Reply via email to