remove protocol violation
[oweals/gnunet.git] / src / arm / Makefile.am
index 238a463ec48422c84696ef473daac45b35a60a94..a3ba06652ecc0db9e2d3bdba066fc39c94d73409 100644 (file)
@@ -72,7 +72,7 @@ check_SCRIPTS = \
 endif
 
 if ENABLE_TEST_RUN
-TESTS_ENVIRONMENT=export GNUNET_PREFIX=@libdir@;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