29 Sep
2010
29 Sep
'10
1:15 p.m.
On 29/09/10 22:41, Allan McRae wrote:
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@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.
Could any BSD/OSX users report on whether "realpath ." give the full path? Thanks, Allan