summaryrefslogtreecommitdiff
path: root/src/librefetch/librefetch-makepkg.conf.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/librefetch/librefetch-makepkg.conf.in')
-rw-r--r--src/librefetch/librefetch-makepkg.conf.in2
1 files changed, 1 insertions, 1 deletions
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