[pacman-dev] repo-add error in BSD

Xavier shiningxc at gmail.com
Tue Jun 17 04:47:26 EDT 2008


On Sun, Jun 15, 2008 at 1:34 PM, Xavier <shiningxc at gmail.com> wrote:
>
> Finally, it looks like we need absolute path because we change the
> directory. So after changing directory, the eventual relative paths would no
> longer be valid.
> I still don't know if it is possible to handle this situation without using
> readlink -f.
>

Every alternatives I could think of would be much uglier, so forget it.
That patch using both realpath and readlink seems to be the cleanest way.




More information about the pacman-dev mailing list