[pacman-dev] repo-add error in BSD
Antonio Huete Jimenez
ahuete.devel at gmail.com
Thu Jun 12 04:47:36 EDT 2008
>>>>
>>>>
>>> Can anyone explain why we need readlink at all?
>>>
>>> Otherwise, it is used in repo-remove too but repo-add and repo-remove
>>> should be combined.
>>>
>>>
>> Ooops! I forgot this. Should I still submit the full patch?
>>
>
> Not before the above question is answered : what do we need readlink for?
>
In repo-add/repo-remove, readlink is used to calculate the full path of
a file (canonicalize with option -f). But in BSD there's no such option
in readlink, so you have to use realpath instead
More information about the pacman-dev
mailing list