Bryan Østergaard wrote:
On Sat, Oct 11, 2008 at 8:34 PM, Bo Ørsted Andresen <[EMAIL PROTECTED]> wrote:
doenvd is rarely useful because you almost always need to generate its input
in an ebuild and doing so directly in "${IMAGE}"/etc/env.d/ is easier than
generating a temporary file and running doenvd on that. As a solution to this
Ciaran suggested that we create a hereenvd function that takes a file name
and a heredoc as input:

hereenvd 40foo <<EOF
BAR=baz
EOF

Similarly the following list of functions could be added:
herebin, hereconfd, heredoc, hereenvd, hereexe, hereinfo, hereinitd, hereman,
heremo and heresbin.

Please discuss!

Sounds like a good idea.

hereenvd makes a lot of sense and I guess hereconfd and hereinitd
might be useful as well but is there any need for all the other
functions?

Hm, maybe heresbin/hereexe could be useful for wrappers and things like that.

Though, I don't have the slightest clue what hereman could be useful. Oo

_______________________________________________
Exherbo-dev mailing list
[email protected]
http://lists.exherbo.org/mailman/listinfo/exherbo-dev

Reply via email to