diff options
author | ng0 <ng0@n0.is> | 2019-11-25 22:45:48 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-11-25 22:45:48 +0000 |
commit | da0e889cc6006fbf5fc6415c339e7320d2ba0e0e (patch) | |
tree | 6d0efdc58021fabe91260bfdb252c6c7059c2848 /src | |
parent | 3ee28382b24f77f23eac03f594b424c611a7bda8 (diff) | |
download | gnunet-da0e889cc6006fbf5fc6415c339e7320d2ba0e0e.tar.gz gnunet-da0e889cc6006fbf5fc6415c339e7320d2ba0e0e.zip |
test_gnunet_gns.sh.in: fix
Diffstat (limited to 'src')
-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 |