[pacman-dev] repo-add error in BSD

Xavier shiningxc at gmail.com
Wed Jun 11 17:15:39 EDT 2008


Antonio Huete Jimenez wrote:
> Xavier escribió:
>> On Tue, Jun 3, 2008 at 11:53 PM, Antonio Huete Jimenez
>> <ahuete.devel at gmail.com>  wrote:
>>
>>> repo-add uses readlink -f in linux to find out file's real path. readlink is
>>> part of coreutils.
>>> I've found that readlink in BSD don't support -f option so we need to use
>>> realpath instead.
>>>
>>>
>> 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?




More information about the pacman-dev mailing list