- fix cli arg parse
[oweals/gnunet.git] / src / testing / Makefile.am
index 6b229b6fe49948106a29c47c8d09e1a9db6aea5c..899708102f6324f7cb290e9123718964369790c7 100644 (file)
@@ -57,7 +57,7 @@ check_PROGRAMS = \
  test_testing_sharedservices
 
 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 = \
  test_testing_portreservation \
  test_testing_peerstartup \