diff options
Diffstat (limited to 'src/dht/test_dht_tools.sh')
-rwxr-xr-x | src/dht/test_dht_tools.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/dht/test_dht_tools.sh b/src/dht/test_dht_tools.sh index 56cc99e15..462866f87 100755 --- a/src/dht/test_dht_tools.sh +++ b/src/dht/test_dht_tools.sh | |||
@@ -1,8 +1,9 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | # This file is in the public domain. | 2 | # This file is in the public domain. |
3 | 3 | ||
4 | out=`mktemp /tmp/test-gnunet-dht-logXXXXXXXX` | 4 | GNUNET_TMP="$(gnunet-config -f -s PATHS -o GNUNET_TMP)" |
5 | tempcfg=`mktemp /tmp/test-dht-tools.XXXXXXXX` | 5 | out=`mktemp $GNUNET_TMP/test-gnunet-dht-logXXXXXXXX` |
6 | tempcfg=`mktemp $GNUNET_TMP/test-dht-tools.XXXXXXXX` | ||
6 | checkout="check.out" | 7 | checkout="check.out" |
7 | armexe="gnunet-arm -c $tempcfg " | 8 | armexe="gnunet-arm -c $tempcfg " |
8 | putexe="gnunet-dht-put -c $tempcfg " | 9 | putexe="gnunet-dht-put -c $tempcfg " |