Gentoo Archives: gentoo-portage-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [PATCH] make PORTAGE_BIN_PATH settings relocatable
Date: Tue, 02 Jun 2015 04:31:23
Message-Id: 20150602043117.GX4496@vapier
In Reply to: Re: [gentoo-portage-dev] [PATCH] make PORTAGE_BIN_PATH settings relocatable by Tim Harder
1 On 01 Jun 2015 14:01, Tim Harder wrote:
2 > On 2015-06-01 13:25, Mike Frysinger wrote:
3 > > (d) some other alternative ?
4 >
5 > If you're sticking with bash, there is also pkgcore's approach of using
6 > a custom shebang script that handles initialization and related generic
7 > things for most of the helpers.
8
9 shebangs have to be absolute which defeats the relocatable approach :(
10
11 although i could create a single wrapper script which would do the bootstrap and
12 then source the final script, and all the other tools would be symlinks to that.
13 like we do with newins/newbin/etc...
14 -mike

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies