[pacman-dev] repo-add error in BSD
aaronmgriffin at gmail.com
Thu Jun 12 11:03:36 EDT 2008
On Thu, Jun 12, 2008 at 3:58 AM, Xavier <shiningxc at gmail.com> wrote:
> On Thu, Jun 12, 2008 at 10:47 AM, Antonio Huete Jimenez
> <ahuete.devel at gmail.com> wrote:
>> 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
> Sorry, I didn't realize my question was that obscure, let me rephrase it :
> Why the hell do we need to calculate the full path of these files?
> If I ask that question, it is because I am personally not able to
> answer it myself after looking at this repo-add script.
> If someone can explain why this is necessary, then we will have to use
> your readlink/realpath patch.
> If no one can, then it is probably useless so we can remove readlink
> usage altogether and solve this portability problem in a much simpler
Without looking at the script, I imagine it has to do with calculating
the path used in %FILENAME% in the db entries. it *does* support full
More information about the pacman-dev