View Single Post

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

Nikos Chantziaras wrote:

> Btw, when you try to emerge the app-text/htp-1.15.ebuild you pointed me to
> (once unmasked), you'll see that it dies during the early steps with the
> same message:
>
>
> /var/tmp/portage/app-text/htp-1.15/temp/environment: line 184: syntax
> error near unexpected token `||'
> /var/tmp/portage/app-text/htp-1.15/temp/environment: line 184: ` || die'


Then file a bug on bugs.gentoo.org to report that. Someone will likely come
up with a fix, so you'll learn where the problem is.

> I guess the only solution is to check the result of the test afterwards
> with something like [ $? -eq 0 ] || die "frob failed"


This should be a suitable temporary solution.

Reply With Quote