[pacman-dev] [PATCH] makepkg: canonicalize paths from environmental variables

Allan McRae allan at archlinux.org
Wed Sep 29 08:41:36 EDT 2010

On 29/09/10 22:33, Allan McRae wrote:
> This prevents circular symlinks and weird final package locations
> when using commands like  'PKGDEST="." makepkg'.
> Fixes FS#20922.
> Signed-off-by: Allan McRae<allan at archlinux.org>
> ---
> Note that this adds readlink as a dependency to makepkg.  That is provided
> by coreutils which is essential anyway so I do not think this is an issue.

And I may be wrong... it appears readlink does different things with -f 
on OSX/BSD.  Off to find a more compatible solution.


More information about the pacman-dev mailing list