View Single Post

   
  #3 (permalink)  
Old 04-15-2008, 09:31 PM
pk
 
Posts: n/a
Default Re: here-documents in ebuild

pk wrote:

> Note that the shell ignores the "EOF" if it has leading whitespace.
> My guess is that the closing "EOF" should probably go right at the
> beginning of the line. See eg app-text/htp/htp-1.15.ebuild, which uses a
> similar construct.


Ok, after some tests it seems that EOF can be indented using tabs, but not
spaces. So, try either putting EOF at the beginning, or indenting it with
tabs only.

Reply With Quote