From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 1A506138C9D for ; Tue, 2 Jun 2015 04:31:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F32A3E0968; Tue, 2 Jun 2015 04:31:19 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 35221E08B5 for ; Tue, 2 Jun 2015 04:31:19 +0000 (UTC) Received: from vapier (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with SMTP id E9BB2340D41 for ; Tue, 2 Jun 2015 04:31:17 +0000 (UTC) Date: Tue, 2 Jun 2015 00:31:17 -0400 From: Mike Frysinger To: gentoo-portage-dev@lists.gentoo.org Subject: Re: [gentoo-portage-dev] [PATCH] make PORTAGE_BIN_PATH settings relocatable Message-ID: <20150602043117.GX4496@vapier> Mail-Followup-To: gentoo-portage-dev@lists.gentoo.org References: <1433140493-3288-1-git-send-email-vapier@gentoo.org> <20150601172524.GU4496@vapier> <20150601180108.GF18797@tarragon.analog.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-portage-dev@lists.gentoo.org Reply-to: gentoo-portage-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="agGyne4gKHM29dDu" Content-Disposition: inline In-Reply-To: <20150601180108.GF18797@tarragon.analog.com> X-Archives-Salt: 73b1c2a8-e5d5-4b6b-b71f-bcaa850b82e6 X-Archives-Hash: 90f525360f79054fb2e273a6ef526a6e --agGyne4gKHM29dDu Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 01 Jun 2015 14:01, Tim Harder wrote: > On 2015-06-01 13:25, Mike Frysinger wrote: > > (d) some other alternative ? >=20 > If you're sticking with bash, there is also pkgcore's approach of using > a custom shebang script that handles initialization and related generic > things for most of the helpers. shebangs have to be absolute which defeats the relocatable approach :( although i could create a single wrapper script which would do the bootstra= p and=20 then source the final script, and all the other tools would be symlinks to = that. =20 like we do with newins/newbin/etc... -mike --agGyne4gKHM29dDu Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJVbTGVAAoJEEFjO5/oN/WBkBgP/2fcR8r6PnGu7V9aAkPPh5EO MGnoFdSPNOeWCzC6qcnRZBj1B0bIjaetNN2ntVmmiCAI3TO1j/LRzi1YfMVoOYQ3 k0Jw/vFlmAwoRggU4FFCVYjYfZDF1Ak+VhcYKjs75OiV7Q8IJAbUhYeGXVVquyw8 JqMWydgTg1soU4KuVRO59VNnFjHtmbmrihWDfPJFJJZdoh4uLR6FRBHb7NFeeMT1 Ka7pjf+CXtPRdN3BWsF4UiPhvP5dA9Cys6TrsoISvNAzTm0dph2O3jggT7h++E8Q U2OQTN9pdRxE7TAQ/IqydmGg6nHU/Pw//AgSPAp2fsBvxyvIOq+/kCpqPK4a5G8e Wh6eGRTFLzdn+lfh8bidNT/WICHg5A+IruWzv9hPW6/rNFbBrRO1g5+iJ0diAFYm f+ZuFKWNWZTRP3pyPdEeWOTsq1RzhdLvC6uyv9OAfD2rWRXbxM4LcT0mTOzwy5ge +9kBhmMULfGUWCKuUDHxtFIKWwNAhtsRljPQwnBCeGc2Q9xKmbeUKG79zO4M9ooH EnUuDzFTRSYdDEZ4EwiTA5mOgNOqVtUkXbQsHyFrIevAuQbfib0yN44QeIzll0pp NzouMTwgrs0pBUXuxJy/Kv0YNOLmq2MesZWIgnODqdgCAhbUbWK/pQW/Ir2AEeXP yBHYykYTXX2Jvf3jXy6q =KWDR -----END PGP SIGNATURE----- --agGyne4gKHM29dDu--