summaryrefslogtreecommitdiff
path: root/test/testenv
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2018-09-29 19:14:50 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2018-10-01 17:35:19 -0400
commitdf6c254c316c883a6a36eddfa0b76981b8b0f1a1 (patch)
tree2077c339d7aaa70a9b9a0fa27401c07abd7f8dae /test/testenv
parent4c1366f389d8691a82db120e54a213747e0b4647 (diff)
test: testenv: Use the correct paths in makepkg.d/librefetch.conf
Instead of having librefetch-test.sh do it.
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() {