remove protocol violation
[oweals/gnunet.git] / src / arm / Makefile.am
index 7b022fe5d6a9efc1e36b917aaada2b210227f988..a3ba06652ecc0db9e2d3bdba066fc39c94d73409 100644 (file)
@@ -72,7 +72,7 @@ check_SCRIPTS = \
 endif
 
 if ENABLE_TEST_RUN
-TESTS_ENVIRONMENT=export GNUNET_PREFIX=@prefix@;export PATH=@prefix@/bin:$$PATH;
+AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
 TESTS = $(check_PROGRAMS)  $(check_SCRIPTS)
 endif