aboutsummaryrefslogtreecommitdiff
path: root/src/gns
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-11-25 22:45:48 +0000
committerng0 <ng0@n0.is>2019-11-25 22:45:48 +0000
commitda0e889cc6006fbf5fc6415c339e7320d2ba0e0e (patch)
tree6d0efdc58021fabe91260bfdb252c6c7059c2848 /src/gns
parent3ee28382b24f77f23eac03f594b424c611a7bda8 (diff)
downloadgnunet-da0e889cc6006fbf5fc6415c339e7320d2ba0e0e.tar.gz
gnunet-da0e889cc6006fbf5fc6415c339e7320d2ba0e0e.zip
test_gnunet_gns.sh.in: fix
Diffstat (limited to 'src/gns')
-rwxr-xr-xsrc/gns/test_gnunet_gns.sh.in9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/gns/test_gnunet_gns.sh.in b/src/gns/test_gnunet_gns.sh.in
index 1c149b141..66bed0516 100755
--- a/src/gns/test_gnunet_gns.sh.in
+++ b/src/gns/test_gnunet_gns.sh.in
@@ -6,7 +6,14 @@
6# if test -z "`which fooble`"; then echo 1; fi 6# if test -z "`which fooble`"; then echo 1; fi
7# The command builtin might not work with busybox's ash 7# The command builtin might not work with busybox's ash
8# but this works for now. 8# but this works for now.
9. @pkgdatadir@/existence.sh 9dir=$(dirname "$0")
10
11if test -e @pkgdatadir@/existence.sh
12then
13 . @pkgdatadir@/existence.sh
14else
15 . $dir/../../contrib/build-common/sh/lib.sh/existence.sh
16fi
10 17
11LOCATION=`existence gnunet-config` 18LOCATION=`existence gnunet-config`
12if test -z $LOCATION; then 19if test -z $LOCATION; then