Gentoo Archives: gentoo-osx

From: Kito <kito@g.o>
To: gentoo-osx@l.g.o
Subject: Re: [gentoo-osx] SheBang script
Date: Wed, 14 Sep 2005 16:06:48
Message-Id: E954A46F-5C33-4682-B457-C5D35005B6D9@gentoo.org
In Reply to: [gentoo-osx] SheBang script by Grobian
1 On Sep 13, 2005, at 3:58 PM, Grobian wrote:
2 [...]
3
4 > # This script searches for executable script files in the given
5 > # directory and all its sub-directories and tries to process them in
6 > # such a way, that the actual PATH environment controls how they are
7 > # executed. An example would be a script file having at the first
8 > line:
9
10 Ok, I was thinking something along these lines to handle
11 install_names for executables and dylibs as well, basically just loop
12 over the ${D} and either warn or fix if install_names contain paths
13 outside the global prefix.
14
15 Brian: Is this sort of thing best handled in bash ala bashrc, or is
16 there a good entry point in the portage code to plug this stuff in
17 pythonically?
18
19 --Kito
20
21 [...]
22 --
23 gentoo-osx@g.o mailing list

Replies

Subject Author
Re: [gentoo-osx] SheBang script Brian Harring <ferringb@g.o>