Jean-François Mertens wrote:
> On 10 Nov 2007, at 21:18, Martin Costabel wrote:
> 
>> Make sure that the only executable named "ln" on your PATH is
>> /usr/bin/ln. The fontconfig2-dev package uses some non-standard option
>> for the ln command that is understood by Apple's /usr/bin/ln, but
>> probably not by other ln versions (ln -fsn is more standard than ln
>> -fsh). I think the maintainer said he would change this , but so  
>> far he
>> didn't.
> Please _ for my own education _ : I don't see what difference the
> "h" or "n" options make in case of symbolic links ("-s") : don't you
> write yourself explicitly the name of the target in the command then?

The difference is the following:
Suppose A and B are directories and you made a symlink C->A via

ln -s A C

Now suppose you want to change the link C to point to B instead of A. If 
you execute

ln -sf B C

you won't get the desired result. You will instead get a symlink B->B 
inside A. You need to say

ln -sfn B C

to change the symlink C->A to C->B.

-- 
Martin



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to