From e2308f58bd454a01cbd7c9359bb0abc7254722e1 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 5 Jan 2015 19:09:06 -0500 Subject: librefetch-makepkg.conf: shut up a useless warning when not included from makepkg --- 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 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 -- cgit v1.2.2