diff options
author | cypherpunks <cypherpunks@torproject.org> | 2015-12-11 23:51:17 +0100 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-12-14 13:11:20 -0500 |
commit | 01a9575ad049643656254911167da901f0f7b04c (patch) | |
tree | 932929b67b9d5ba9b9d4539c4c1ea8ff7922d5b9 /src/test/include.am | |
parent | 670affa792e7613f6e6b5d960805418359ac0ec7 (diff) | |
download | tor-01a9575ad049643656254911167da901f0f7b04c.tar.gz tor-01a9575ad049643656254911167da901f0f7b04c.zip |
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.
Diffstat (limited to 'src/test/include.am')
-rw-r--r-- | src/test/include.am | 8 |
1 files changed, 4 insertions, 4 deletions
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 |