On Thu, 2007-12-27 at 20:48 +0100, Marius Mauch wrote: > On Thu, 20 Dec 2007 17:22:22 +0100 > Luca Barbato <[EMAIL PROTECTED]> wrote: > > > I'm thinking about having them embedded in the comment as first line as > > something like > > > > #!/usr/bin/env emerge --eapi $foo > > Unfortunately the "emerge --eapi $foo" part would be passed as a single > argument to /usr/bin/env, therefore can't work.
This also could be done as (using 'ebuild' instead of 'emerge') #! /usr/bin/env ebuild.1 and PM could provide some 'ebuild.1' executable, at the bare mimimum doing nothing but #! /bin/sh exec ebuild --eapi 1 "$@" /haubi/ -- Michael Haubenwallner Gentoo on a different level -- [EMAIL PROTECTED] mailing list