diff options
Diffstat (limited to 'src/gns/test_gnunet_gns.sh.in')
-rwxr-xr-x | src/gns/test_gnunet_gns.sh.in | 9 |
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 | 9 | dir=$(dirname "$0") |
10 | |||
11 | if test -e @pkgdatadir@/existence.sh | ||
12 | then | ||
13 | . @pkgdatadir@/existence.sh | ||
14 | else | ||
15 | . $dir/../../contrib/build-common/sh/lib.sh/existence.sh | ||
16 | fi | ||
10 | 17 | ||
11 | LOCATION=`existence gnunet-config` | 18 | LOCATION=`existence gnunet-config` |
12 | if test -z $LOCATION; then | 19 | if test -z $LOCATION; then |