On Thu, Jun 12, 2008 at 5:03 PM, Aaron Griffin <[EMAIL PROTECTED]> wrote:
>
> 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
> paths:
> %FILENAME%
> foo/bar/somepkg-1.0.pkg.tar.gz
>

Actually, I didn't check that carefully, but here is how filename is
generated by repo-add :
  echo -e "%FILENAME%\n$(basename "$1")\n" >>desc

And at the beginning of db_write_entry function :
  local pkgfile=$(readlink -f "$1")

So that means readlink is not used for the FILENAME, and only the
basename of the file is put there, so not the full path.

_______________________________________________
pacman-dev mailing list
[email protected]
http://archlinux.org/mailman/listinfo/pacman-dev

Reply via email to