gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r30929 - gnunet/src/revocation


From: gnunet
Subject: [GNUnet-SVN] r30929 - gnunet/src/revocation
Date: Thu, 28 Nov 2013 11:38:38 +0100

Author: wachs
Date: 2013-11-28 11:38:38 +0100 (Thu, 28 Nov 2013)
New Revision: 30929

Modified:
   gnunet/src/revocation/test_local_revocation.sh
Log:
check for cli tools


Modified: gnunet/src/revocation/test_local_revocation.sh
===================================================================
--- gnunet/src/revocation/test_local_revocation.sh      2013-11-28 10:37:24 UTC 
(rev 30928)
+++ gnunet/src/revocation/test_local_revocation.sh      2013-11-28 10:38:38 UTC 
(rev 30929)
@@ -5,6 +5,13 @@
 which timeout &> /dev/null && DO_TIMEOUT="timeout 5"
 trap "gnunet-arm -e -c test_revocation.conf" SIGINT
 
+LOCATION=$(which gnunet-config)
+if [ -z $LOCATION ]
+then
+       echo "GNUnet command line tools cannot be found, check environmental 
variables PATH and GNUNET_PREFIX" 
+       exit 1
+fi
+
 # clean up
 rm -rf `gnunet-config -c test_revocation.conf -s PATHS -o GNUNET_HOME -f`
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]