1 |
On Thu, 2007-12-27 at 20:48 +0100, Marius Mauch wrote: |
2 |
> On Thu, 20 Dec 2007 17:22:22 +0100 |
3 |
> Luca Barbato <lu_zero@g.o> wrote: |
4 |
> |
5 |
> > I'm thinking about having them embedded in the comment as first line as |
6 |
> > something like |
7 |
> > |
8 |
> > #!/usr/bin/env emerge --eapi $foo |
9 |
> |
10 |
> Unfortunately the "emerge --eapi $foo" part would be passed as a single argument to /usr/bin/env, therefore can't work. |
11 |
|
12 |
This also could be done as (using 'ebuild' instead of 'emerge') |
13 |
|
14 |
#! /usr/bin/env ebuild.1 |
15 |
|
16 |
and PM could provide some 'ebuild.1' executable, at the bare mimimum |
17 |
doing nothing but |
18 |
|
19 |
#! /bin/sh |
20 |
exec ebuild --eapi 1 "$@" |
21 |
|
22 |
/haubi/ |
23 |
-- |
24 |
Michael Haubenwallner |
25 |
Gentoo on a different level |
26 |
|
27 |
-- |
28 |
gentoo-dev@g.o mailing list |