aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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