summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 5b310f0..48ecd01 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 "$(realpath -Lm "${BUILDFILE:-$BUILDSCRIPT}")") -- %u %o"
+ local dlagent="@bindir@/librefetch -p $(printf %q "$(realpath -Lm "${BUILDFILE:-${BUILDSCRIPT:-PKGBUILD}}")") -- %u %o"
local i
for i in "${!DLAGENTS[@]}"; do