diff options
Diffstat (limited to 'src/gns/test_gns_rel_expiration.sh')
-rwxr-xr-x | src/gns/test_gns_rel_expiration.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gns/test_gns_rel_expiration.sh b/src/gns/test_gns_rel_expiration.sh index 2db66c4c1..05714aed2 100755 --- a/src/gns/test_gns_rel_expiration.sh +++ b/src/gns/test_gns_rel_expiration.sh | |||
@@ -4,8 +4,13 @@ trap "gnunet-arm -e -c test_gns_lookup.conf" SIGINT | |||
4 | LOCATION=$(which gnunet-config) | 4 | LOCATION=$(which gnunet-config) |
5 | if [ -z $LOCATION ] | 5 | if [ -z $LOCATION ] |
6 | then | 6 | then |
7 | LOCATION="gnunet-config" | ||
8 | fi | ||
9 | $LOCATION --version | ||
10 | if test $? != 0 | ||
11 | then | ||
7 | echo "GNUnet command line tools cannot be found, check environmental variables PATH and GNUNET_PREFIX" | 12 | echo "GNUnet command line tools cannot be found, check environmental variables PATH and GNUNET_PREFIX" |
8 | exit 1 | 13 | exit 77 |
9 | fi | 14 | fi |
10 | 15 | ||
11 | rm -r `gnunet-config -c test_gns_lookup.conf -s PATHS -o GNUNET_HOME -f` | 16 | rm -r `gnunet-config -c test_gns_lookup.conf -s PATHS -o GNUNET_HOME -f` |