From 611d42112112fe6e11df8a6417f3a0b69d97143f Mon Sep 17 00:00:00 2001 From: LRN Date: Sun, 2 Feb 2014 17:11:17 +0000 Subject: Fix TESTS_ENVIRONMENT setting (allow GNUNET_PREFIX to be overriden, allow TESTS_ENVIRONMENT to be overrided (use AM_TESTS_ENVIRONMENT)) --- src/hello/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/hello/Makefile.am') diff --git a/src/hello/Makefile.am b/src/hello/Makefile.am index 8f16219e8..7e5b9c451 100644 --- a/src/hello/Makefile.am +++ b/src/hello/Makefile.am @@ -28,7 +28,7 @@ check_PROGRAMS = \ test_friend_hello 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) endif -- cgit v1.2.3