diff options
author | ng0 <ng0@n0.is> | 2019-12-02 15:30:56 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-12-02 15:30:56 +0000 |
commit | c8e5e28048dd9605f7958ef95f2a6dd626658069 (patch) | |
tree | 52375a14cc93c4161a658b4c7a1926dda11d8909 /src/dht/test_dht_tools.py.in | |
parent | 53f35813d89de6f7c91883277129ffda3ca5b772 (diff) | |
download | gnunet-c8e5e28048dd9605f7958ef95f2a6dd626658069.tar.gz gnunet-c8e5e28048dd9605f7958ef95f2a6dd626658069.zip |
rewrite sed logic used in Makefiles and move into dosubst awk script.
include 'bin' and its files in dist files, this is where dosubst is located.
While the invocation (passing of the variables)
is not optimal (yet, will be changed), this
will in the end allow sharing code between Makefiles better,
and maybe drop sed usage in the future.
Diffstat (limited to 'src/dht/test_dht_tools.py.in')
-rw-r--r-- | src/dht/test_dht_tools.py.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dht/test_dht_tools.py.in b/src/dht/test_dht_tools.py.in index c2f95e4b5..20739c45f 100644 --- a/src/dht/test_dht_tools.py.in +++ b/src/dht/test_dht_tools.py.in | |||
@@ -1,4 +1,4 @@ | |||
1 | #!@PYTHON@ | 1 | #!@PYTHONEXE@ |
2 | # | 2 | # |
3 | # This testcase simply checks that the DHT command-line tools work. | 3 | # This testcase simply checks that the DHT command-line tools work. |
4 | # It launches a single peer, stores a value "testdata" under "testkey", | 4 | # It launches a single peer, stores a value "testdata" under "testkey", |
@@ -20,7 +20,7 @@ import subprocess | |||
20 | import time | 20 | import time |
21 | import tempfile | 21 | import tempfile |
22 | 22 | ||
23 | os.environ["PATH"] = "@bindir@" + ":" + os.environ["PATH"] | 23 | os.environ["PATH"] = "@bindirectory@" + ":" + os.environ["PATH"] |
24 | 24 | ||
25 | if os.name == "nt": | 25 | if os.name == "nt": |
26 | tmp = os.getenv("TEMP") | 26 | tmp = os.getenv("TEMP") |