From: cypherpunks Date: Fri, 11 Dec 2015 22:51:17 +0000 (+0100) Subject: Use variables instead of substitutions X-Git-Tag: tor-0.2.8.1-alpha~151^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=01a9575ad049643656254911167da901f0f7b04c;p=thirdparty%2Ftor.git Use variables instead of substitutions Using variables removes the ambiguity about when to use variables and when to use substitutions. Variables always work. Substitutions only work when Autoconf knows about them which is not always the case. The variables are also placed between quotes to ensures spaces in the variables are handled properly. --- diff --git a/src/test/include.am b/src/test/include.am index a24c5bb1b4..9577e1e80f 100644 --- a/src/test/include.am +++ b/src/test/include.am @@ -1,8 +1,8 @@ AM_TESTS_ENVIRONMENT = \ - export PYTHON=@PYTHON@; \ - export SHELL=@SHELL@; \ - export abs_top_srcdir=@abs_top_srcdir@; \ - export builddir=@builddir@; \ + export PYTHON="$(PYTHON)"; \ + export SHELL="$(SHELL)"; \ + export abs_top_srcdir="$(abs_top_srcdir)"; \ + export builddir="$(builddir)"; \ export TESTING_TOR_BINARY="$(TESTING_TOR_BINARY)"; TESTSCRIPTS = src/test/test_zero_length_keys.sh