On 15-12-2005 01:35:23 +0100, Marcin Gabrowski wrote:
> Hello,
> 
> On 2005-12-15, at 00:42, Dirk Schönberger wrote:
> 
> >>>The MacOSX file system hierarchy is a mix of two subsystems.
> >>I think that proper way is make variable PREFIX or ROOT gives
> >>as configuriable.
> >Problem is that one folder is not enough, because you still need  
> >access to
> >the "classic" Unix  hierarchy (/usr/bin, /bin, /sbin).
> >Perhaps you also want to use two or more prefixes.
> Hm.. but why? I'd use symlinks eg. /usr/bin/wc -> /opt/gentoo/bin/wc,  
> what resolves those problems.

Or what about a Framework?

> >The question which executable to start begins to look like path  
> >resolution
> >in a Unix shell, which I don'Ät really wan to implement
> >in a simple frontend script.

Is it really possible to find any executable without path resolution?
Only ./myapp doesn't require the shell to use the $PATH variable, but
does use the current (absolute) path ($CWD) in order to start the myapp
binary.

Using "#!/usr/bin/env perl" in a script instead of "#!/usr/bin/perl"
allows perl to be in any location in the path environment.


-- 
Fabian Groffen
Gentoo for Mac OS X Project -- Interim Lead

-- 
[email protected] mailing list

Reply via email to