On Wed, Jun 22, 2011 at 7:38 PM, Dave Reisner <d@falconindy.com> wrote:
> If the repo file already exists, we allow specifying the symlink instead
> of the tarball itself.
>
> Signed-off-by: Dave Reisner <d@falconindy.com>
> ---
> I'm fairly sure this is a safe use of readlink, since it doesn't involve any of
> the flags for canonicalizing paths. I was able to test it on OSX with great
> success.
This page (http://mywiki.wooledge.org/BashFAQ/029) also suggests using
`find -printf %l`. I think it is more about not having a readlink at
all that burned us in the past (the actual BSDs?)
Part of me says this still doesn't feel quite right. What if I just
*move* my repo to repo.db? Is there a way to get bsdtar to use the
same compression as another file, or some trick with file, like what
we do in makepkg (search for 'application/', that will allow us to do
this?