Tcl question ...

Lawrence Velázquez larryv at macports.org
Thu Sep 19 19:46:23 PDT 2013


On Sep 19, 2013, at 9:37 AM, Peter Danecek <Peter.Danecek at bo.ingv.it> wrote:

> I see there is the `ln` alias. So I tried to replace the following line
>    file link   ${worksrcpath}/TestBitVector/BitVector.py ../BitVector.py 
> 
> with
>    ln ../BitVector.py  ${worksrcpath}/TestBitVector/BitVector.py 
> 
> The first works the second fails, so what is I understood wrong?

Tcl's "file link" defaults to creating symbolic links on Unix. Our "ln" proc is intended to behave like Unix's "ln" command, so it creates hard links. You'll need to use "ln -s" to create symlinks.

vq


More information about the macports-dev mailing list