On Mon, 2005-08-01 at 02:16 -0500, [EMAIL PROTECTED] wrote: > I was wondering if i got the syntax right.. > > <search_replace base="&build_dir;/&gcc-directory;"> > <file>gcc/Makefile.in</file> > <find>\(^CROSS_SYSTEM_HEADER_DIR =\).*</find> > <replace>\1 /tools/[EMAIL PROTECTED]</replace> > </search_replace> The syntax is right, but you won't get the result you would expect, the search_replace element does not interface to sed in any way, therefore for a sed like that it's best to use an execute element.
> echo " > #undef STARTFILE_PREFIX_SPEC > #define STARTFILE_PREFIX_SPEC \"/tools/lib/\"" >> gcc/config/linux.h For that it's best to use a textdump element for this. For an example of both cases see here: http://tinyurl.com/8nl86 -- Thomas LFS User : 4729 / Linux User : 298329 kitt - Powered by: Linux 2.6.11 09:06:08 up 8 days, 17:11, 7 users, load average: 1.05, 0.87, 0.65
signature.asc
Description: This is a digitally signed message part
-- http://linuxfromscratch.org/mailman/listinfo/alfs-discuss FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
