From: | Samuli Suominen <ssuominen@g.o> | ||
---|---|---|---|
To: | gentoo-dev@l.g.o | ||
Subject: | Re: [gentoo-dev] Can a bash script source ebuild functions? | ||
Date: | Mon, 03 Jan 2011 14:47:08 | ||
Message-Id: | 4D21E153.6040309@gentoo.org | ||
In Reply to: | [gentoo-dev] Can a bash script source ebuild functions? by Kfir Lavi |
1 | On 01/03/2011 04:38 PM, Kfir Lavi wrote: |
2 | > Hi, |
3 | > I would like to adapt my script that I run in the post install section |
4 | > inside an ebuild, to source some functions like elog and such. |
5 | > |
6 | > Is it possible? |
7 | > |
8 | > Regards, |
9 | > Kfir |
10 | |
11 | I don't know about elog, but you can get einfo with: |
12 | |
13 | #!/bin/bash |
14 | |
15 | . /etc/init.d/functions.sh |
16 | |
17 | einfo "foobar" |
Subject | Author |
---|---|
Re: [gentoo-dev] Can a bash script source ebuild functions? | Kfir Lavi <lavi.kfir@×××××.com> |