Bug#431748: live-helper: lh_chroot_syslinux fails when run under dash
On Wed, Jul 04, 2007 at 06:05:53PM +0100, James Westby wrote:
> Package: live-helper
> Version: 1.0~a17-1
> Severity: normal
>
> The
>
> sed -i -e
>
> calls in lh_chroot_syslinux fail when run under dash as /bin/sh, as the
> \n in substitutions are expanded before sed gets them, and so it doesn't
> see the end of the command. Running under bash solves the problem.
>
> This is compounded by the fact that even though sed has an exit status
> of 1 and the script is set -e the script ends up exiting with a zero
> status, and so the build continues and you get a broken image.
>
> I'm not ruling out that this is a bug in dash, but I don't know the
> rules of shell to say whether it is or not.
What happens when you use sh -> posh instead of dash/bash?
--
Trent Buck
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/debian-live-devel/attachments/20070705/fe037096/attachment.pgp
Reply to: