summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/Makefile.am1
-rw-r--r--tests/atlocal.in2
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 89a1f39fc..ede849f2e 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -52,6 +52,7 @@ atlocal: atlocal.in
-e "s,[@]rpmbindir[@],$(rpmbindir)," \
-e "s,[@]usrbindir[@],$(bindir)," \
-e "s,[@]usrlibdir[@],$(libdir)," \
+ -e "s,[@]RPMCONFIGDIR[@],$(RPMCONFIGDIR)," \
< $(srcdir)/atlocal.in > atlocal
DISTCLEANFILES = atlocal
EXTRA_DIST += atlocal.in
diff --git a/tests/atlocal.in b/tests/atlocal.in
index 836aa52e5..2218432ab 100644
--- a/tests/atlocal.in
+++ b/tests/atlocal.in
@@ -3,4 +3,4 @@ export LD_LIBRARY_PATH
PATH=`pwd`/testing@rpmbindir@:`pwd`/testing@usrbindir@:$PATH
export PATH
-RPMRC="${abs_srcdir}/testing@usrlibdir@/rpm/rpmrc"
+RPMRC="${abs_srcdir}/testing@RPMCONFIGDIR@/rpmrc"