On Fri, 2005-09-30 at 17:45 +0200, David Rosal wrote: > Hello. > > Is there any element to unset an environment variable in the XML > profiles? or should it be done with <execute>: > > <execute command="unset"> > <param>my_var</param> > </execute>
Yes, it's part of the environment tag. A prime example is when we unset
C{,XX)FLAGS for binutils, gcc and glibc in the profiles.
Just use a block like this:
<environment>
<variable name="some variable name" />
</environment>
--
Thomas
LFS User : 4729 / Linux User : 298329
kitt - Powered by: Linux 2.6.12.3
12:41:47 up 10 days, 4:26, 4 users, load average: 0.28, 0.59, 0.81
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
