Please excuse me. I had a look at some LFS-6.1 profiles, and I guessed that:

1) There's not any element to unset environment variables.
2) Pipes and redirections are both allowed, replacing the > character by >


~david


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>

Another question: Are pipes and stream redirections accepted within the <param> elements of <execute>? Take the following as example:

<execute command="ls">
    <param>-l | sort >> /tmp/ls.txt</param>
</execute>

Thanks in advance for any help.


~david
--
http://linuxfromscratch.org/mailman/listinfo/alfs-discuss
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to