Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Kfir Lavi <lavi.kfir@...>
Subject: Re: Can a bash script source ebuild functions?
Date: Mon, 3 Jan 2011 18:14:34 +0200
<div dir="ltr"><br><br><div class="gmail_quote">On Mon, Jan 3, 2011 at 4:46 PM, Samuli Suominen <span dir="ltr">&lt;<a href="mailto:ssuominen@g.o">ssuominen@g.o</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<div><div></div><div class="h5">On 01/03/2011 04:38 PM, Kfir Lavi wrote:<br>
&gt; Hi,<br>
&gt; I would like to adapt my script that I run in the post install section<br>
&gt; inside an ebuild, to source some functions like elog and such.<br>
&gt;<br>
&gt; Is it possible?<br>
&gt;<br>
&gt; Regards,<br>
&gt; Kfir<br>
<br>
</div></div>I don&#39;t know about elog, but you can get einfo with:<br>
<br>
#!/bin/bash<br>
<br>
. /etc/init.d/functions.sh<br>
<br>
einfo &quot;foobar&quot;<br>
<br>
</blockquote></div>Yep, thanks. <br><br>Kfir<br></div>
References:
Can a bash script source ebuild functions?
-- Kfir Lavi
Re: Can a bash script source ebuild functions?
-- Samuli Suominen
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Can a bash script source ebuild functions?
Next by thread:
Defining S= from ebuild phase, src_unpack() ?
Previous by date:
Re: Defining S= from ebuild phase, src_unpack() ?
Next by date:
Re: Defining S= from ebuild phase, src_unpack() ?


Updated Jun 29, 2012

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.