diff options
Diffstat (limited to 'src/revocation')
-rw-r--r-- | src/revocation/Makefile.am | 4 | ||||
-rw-r--r-- | src/revocation/test_local_revocation.py.in | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/revocation/Makefile.am b/src/revocation/Makefile.am index 5e48fb29f..b3b2877ca 100644 --- a/src/revocation/Makefile.am +++ b/src/revocation/Makefile.am | |||
@@ -90,10 +90,8 @@ if ENABLE_TEST_RUN | |||
90 | $(check_PROGRAMS) | 90 | $(check_PROGRAMS) |
91 | endif | 91 | endif |
92 | 92 | ||
93 | do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g' | ||
94 | |||
95 | test_local_revocation.py: test_local_revocation.py.in Makefile | 93 | test_local_revocation.py: test_local_revocation.py.in Makefile |
96 | $(do_subst) < $(srcdir)/test_local_revocation.py.in > test_local_revocation.py | 94 | $(AWK) -v bdir="$(bindir)" -v py="$(PYTHON)" -v awkay="$(AWK_BINARY)" -v pfx="$(prefix)" -v prl="$(PERL)" -v sysconfdirectory="$(sysconfdir)" -v pkgdatadirectory="$(pkgdatadir)" -f $(top_srcdir)/bin/dosubst.awk < $(srcdir)/test_local_revocation.py.in > test_local_revocation.py |
97 | chmod +x test_local_revocation.py | 95 | chmod +x test_local_revocation.py |
98 | 96 | ||
99 | EXTRA_DIST = test_revocation.conf \ | 97 | EXTRA_DIST = test_revocation.conf \ |
diff --git a/src/revocation/test_local_revocation.py.in b/src/revocation/test_local_revocation.py.in index d73d0a869..e667c10ce 100644 --- a/src/revocation/test_local_revocation.py.in +++ b/src/revocation/test_local_revocation.py.in | |||
@@ -1,4 +1,4 @@ | |||
1 | #!@PYTHON@ | 1 | #!@PYTHONEXE@ |
2 | # This file is part of GNUnet. | 2 | # This file is part of GNUnet. |
3 | # (C) 2010, 2018 Christian Grothoff (and other contributing authors) | 3 | # (C) 2010, 2018 Christian Grothoff (and other contributing authors) |
4 | # | 4 | # |