[Exherbo-dev] hereenvd and friends, functions that take heredocs as input

David Leverton levertond at googlemail.com
Mon Oct 13 19:08:22 BST 2008


On Monday 13 October 2008 18:39:45 Bryan Østergaard wrote:
> In that case I'd probably just stick the wrapper in files/ and install
> it normally as there doesn't seem to be any/much need for dynamically
> creating the file. Might be useful in exlibs I guess.

That's unnecessarily messy if the file is just two or three lines (as well as 
the permissions thing, consider setting LD_LIBRARY_PATH for binary apps, 
etc).  Also if it needs to take $(get_libdir) or similar into account, the 
heredoc is a lot cleaner than trying to sed it in.



More information about the Exherbo-dev mailing list