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: Samuli Suominen <ssuominen@g.o>
Subject: Re: Can a bash script source ebuild functions?
Date: Mon, 03 Jan 2011 16:46:43 +0200
On 01/03/2011 04:38 PM, Kfir Lavi wrote:
> Hi,
> I would like to adapt my script that I run in the post install section
> inside an ebuild, to source some functions like elog and such.
> 
> Is it possible?
> 
> Regards,
> Kfir

I don't know about elog, but you can get einfo with:

#!/bin/bash

. /etc/init.d/functions.sh

einfo "foobar"


Replies:
Re: Can a bash script source ebuild functions?
-- Kfir Lavi
References:
Can a bash script source ebuild functions?
-- Kfir Lavi
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Can a bash script source ebuild functions?
Next by thread:
Re: Can a bash script source ebuild functions?
Previous by date:
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.