aboutsummaryrefslogtreecommitdiff
path: root/src/dht
diff options
context:
space:
mode:
Diffstat (limited to 'src/dht')
-rw-r--r--src/dht/Makefile.am2
-rw-r--r--src/dht/test_dht_tools.py.in2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/dht/Makefile.am b/src/dht/Makefile.am
index b4c03ba60..26beb300b 100644
--- a/src/dht/Makefile.am
+++ b/src/dht/Makefile.am
@@ -254,7 +254,7 @@ check_SCRIPTS = \
254 test_dht_tools.py 254 test_dht_tools.py
255endif 255endif
256 256
257do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g' 257do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g' -e 's,[@]bindir[@],$(bindir),g'
258 258
259%.py: %.py.in Makefile 259%.py: %.py.in Makefile
260 $(do_subst) < $(srcdir)/$< > $@ 260 $(do_subst) < $(srcdir)/$< > $@
diff --git a/src/dht/test_dht_tools.py.in b/src/dht/test_dht_tools.py.in
index 9489d12c1..5ceabbfad 100644
--- a/src/dht/test_dht_tools.py.in
+++ b/src/dht/test_dht_tools.py.in
@@ -20,6 +20,8 @@ import subprocess
20import time 20import time
21import tempfile 21import tempfile
22 22
23os.environ["PATH"] = "@bindir@" + ":" + os.environ["PATH"];
24
23if os.name == "nt": 25if os.name == "nt":
24 tmp = os.getenv ("TEMP") 26 tmp = os.getenv ("TEMP")
25else: 27else: