diff options
Diffstat (limited to 'src/gns/test_gns_revocation.sh')
-rwxr-xr-x | src/gns/test_gns_revocation.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gns/test_gns_revocation.sh b/src/gns/test_gns_revocation.sh index a7287c3dd..21adef664 100755 --- a/src/gns/test_gns_revocation.sh +++ b/src/gns/test_gns_revocation.sh | |||
@@ -5,8 +5,13 @@ which timeout &> /dev/null && DO_TIMEOUT="timeout 5" | |||
5 | LOCATION=$(which gnunet-config) | 5 | LOCATION=$(which gnunet-config) |
6 | if [ -z $LOCATION ] | 6 | if [ -z $LOCATION ] |
7 | then | 7 | then |
8 | LOCATION="gnunet-config" | ||
9 | fi | ||
10 | $LOCATION --version | ||
11 | if test $? != 0 | ||
12 | then | ||
8 | echo "GNUnet command line tools cannot be found, check environmental variables PATH and GNUNET_PREFIX" | 13 | echo "GNUnet command line tools cannot be found, check environmental variables PATH and GNUNET_PREFIX" |
9 | exit 1 | 14 | exit 77 |
10 | fi | 15 | fi |
11 | 16 | ||
12 | rm -rf `gnunet-config -c test_gns_lookup.conf -s PATHS -o GNUNET_HOME -f` | 17 | rm -rf `gnunet-config -c test_gns_lookup.conf -s PATHS -o GNUNET_HOME -f` |