On Tuesday 15 April 2008, Marijn Schouten (hkBst) wrote:
> Hi list,
>
> it seems I have been using some fragile sed expression and I'd like to tap
> the collective wisdom for avoiding doing that in the future.
>
> dev-scheme/slib-3.1.5-r1 currently does
>
> sed "s_prefix = /usr/local/_prefix = ${D}/usr/_" -i Makefileignoring the escape character (which is currently standardized in the tree as a colon), expressions like this are inherently fragile due to makefile changes. i tend to do: sed -i '/^prefix[[:space:]]*=/s:=.*:=/usr' Makefile -mike
signature.asc
Description: This is a digitally signed message part.
