summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-01-05 19:09:06 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-01-05 19:09:06 -0500
commite2308f58bd454a01cbd7c9359bb0abc7254722e1 (patch)
treea2171ef91a0269c92db17016a6f515683eadc33c /src
parent21d641cbc8b70fce762b6f6d5a402783745d9096 (diff)
librefetch-makepkg.conf: shut up a useless warning when not included from makepkg
Diffstat (limited to 'src')
-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