aboutsummaryrefslogtreecommitdiff
path: root/src/gns/test_gnunet_gns.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/gns/test_gnunet_gns.sh.in')
-rwxr-xr-xsrc/gns/test_gnunet_gns.sh.in9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/gns/test_gnunet_gns.sh.in b/src/gns/test_gnunet_gns.sh.in
index 8a96ff034..d0c07b4e4 100755
--- a/src/gns/test_gnunet_gns.sh.in
+++ b/src/gns/test_gnunet_gns.sh.in
@@ -8,12 +8,9 @@
8# but this works for now. 8# but this works for now.
9dir=$(dirname "$0") 9dir=$(dirname "$0")
10 10
11if test -e @PKGDATADIRECTORY@/existence.sh 11existence() {
12then 12 command -v "$1" >/dev/null 2>&1
13 . @PKGDATADIRECTORY@/existence.sh 13}
14else
15 . $dir/../../contrib/build-common/sh/lib.sh/existence.sh
16fi
17 14
18LOCATION=`existence gnunet-config` 15LOCATION=`existence gnunet-config`
19if test -z $LOCATION; then 16if test -z $LOCATION; then