On Fri, 22 Oct 2010 19:44:39 +0200
Christian Faulhammer <fa...@gentoo.org> wrote:

> > src_prepare() {
> >     sed -i "/^OCAMLOPTFLAGS/s/$/ -ccopt \"\$(CFLAGS)
> > \$(LDFLAGS)\"/" Makefile }
> 
>  Make this sed line die, just in case.

Is your intention to die if it stops matching anything?  sed won't throw an
error code unless the file doesn't exist, which doesn't seem likely for
Makefile here (and if it is missing you're getting a die from emake anyways).


-- 
fonts, gcc-porting,                  it makes no sense how it makes no sense
toolchain, wxwidgets                           but i'll take it free anytime
@ gentoo.org                EFFD 380E 047A 4B51 D2BD C64F 8AA8 8346 F9A4 0662

Attachment: signature.asc
Description: PGP signature

Reply via email to