summaryrefslogtreecommitdiff
path: root/test/testenv
diff options
context:
space:
mode:
Diffstat (limited to 'test/testenv')
-rwxr-xr-xtest/testenv2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/testenv b/test/testenv
index f6c19d5..9883e8b 100755
--- a/test/testenv
+++ b/test/testenv
@@ -57,6 +57,8 @@
export LIBRETOOLS_LIBDIR="$destdir/usr/lib/libretools"
export _librelib_conf_sh_sysconfdir="$destdir/etc"
export _librelib_conf_sh_pkgconfdir="$destdir/etc/libretools.d"
+ sed -i 's,/usr/bin/librefetch,$(which librefetch),' \
+ "${_librelib_conf_sh_sysconfdir}/makepkg.d/librefetch.conf"
# Hack to respect our variables in sudo
_sudo() {