diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2021-12-20 10:59:42 +0100 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2021-12-20 10:59:42 +0100 |
commit | ed65e2cac3e720c226f8dec07ac37ab62578724e (patch) | |
tree | 67ff1ec66a29423cb173d6a07defcb4ad8e4baa6 /src/gns/test_gnunet_gns.sh.in | |
parent | 511058f7e97d46eebe74a8c14aaff81865faa860 (diff) | |
download | gnunet-ed65e2cac3e720c226f8dec07ac37ab62578724e.tar.gz gnunet-ed65e2cac3e720c226f8dec07ac37ab62578724e.zip |
BUILD: Kill build-common
Diffstat (limited to 'src/gns/test_gnunet_gns.sh.in')
-rwxr-xr-x | src/gns/test_gnunet_gns.sh.in | 9 |
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. |
9 | dir=$(dirname "$0") | 9 | dir=$(dirname "$0") |
10 | 10 | ||
11 | if test -e @PKGDATADIRECTORY@/existence.sh | 11 | existence() { |
12 | then | 12 | command -v "$1" >/dev/null 2>&1 |
13 | . @PKGDATADIRECTORY@/existence.sh | 13 | } |
14 | else | ||
15 | . $dir/../../contrib/build-common/sh/lib.sh/existence.sh | ||
16 | fi | ||
17 | 14 | ||
18 | LOCATION=`existence gnunet-config` | 15 | LOCATION=`existence gnunet-config` |
19 | if test -z $LOCATION; then | 16 | if test -z $LOCATION; then |