Creating symlinks to files that don't exist

Boey Maun Suang boeyms at macports.org
Tue May 8 02:48:18 PDT 2007


On 08/05/2007, at 15:39, David Liontooth wrote:

>> - ln uses new symlink command so it can create symlinks that point to
>>      files that don't actually exist (eridius r24444).
>
> How is this done? It would come in extremely handy.

It looks to me from the changeset [1] that you just use "ln -s  
<source> <target>" in a Portfile (i.e. _without_ wrapping it as an  
argument to a "system" command, as this has effectively already been  
done).  If eridius knows otherwise, he'll probably pop up and say so.

Kind regards,


Maun Suang

[1] http://trac.macports.org/projects/macports/changeset/24444

-- 
Boey Maun Suang (Boey is my surname)
Email: boeyms at macports.org






More information about the macports-users mailing list