From 72e62c36a8efd9594a65c1352faa8b31f729aef0 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 5 Jan 2015 17:57:42 -0500 Subject: librefetch: fix paths being canonicalized incorrectly --- src/librefetch/librefetch-makepkg.conf.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/librefetch/librefetch-makepkg.conf.in') diff --git a/src/librefetch/librefetch-makepkg.conf.in b/src/librefetch/librefetch-makepkg.conf.in index d6bc93e..5b310f0 100644 --- a/src/librefetch/librefetch-makepkg.conf.in +++ b/src/librefetch/librefetch-makepkg.conf.in @@ -2,7 +2,7 @@ # This file should be 'source'd by makepkg.conf to enable librefetch edit_dlagents() { - local dlagent="@bindir@/librefetch -p $(printf %q "${BUILDFILE:-$BUILDSCRIPT}") -- %u %o" + local dlagent="@bindir@/librefetch -p $(printf %q "$(realpath -Lm "${BUILDFILE:-$BUILDSCRIPT}")") -- %u %o" local i for i in "${!DLAGENTS[@]}"; do -- cgit v1.2.3-54-g00ecf