diff options
author | ng0 <ng0@n0.is> | 2019-12-02 15:30:56 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-12-02 15:30:56 +0000 |
commit | c8e5e28048dd9605f7958ef95f2a6dd626658069 (patch) | |
tree | 52375a14cc93c4161a658b4c7a1926dda11d8909 /src/gns/test_gnunet_gns.sh.in | |
parent | 53f35813d89de6f7c91883277129ffda3ca5b772 (diff) | |
download | gnunet-c8e5e28048dd9605f7958ef95f2a6dd626658069.tar.gz gnunet-c8e5e28048dd9605f7958ef95f2a6dd626658069.zip |
rewrite sed logic used in Makefiles and move into dosubst awk script.
include 'bin' and its files in dist files, this is where dosubst is located.
While the invocation (passing of the variables)
is not optimal (yet, will be changed), this
will in the end allow sharing code between Makefiles better,
and maybe drop sed usage in the future.
Diffstat (limited to 'src/gns/test_gnunet_gns.sh.in')
-rwxr-xr-x | src/gns/test_gnunet_gns.sh.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gns/test_gnunet_gns.sh.in b/src/gns/test_gnunet_gns.sh.in index 66bed0516..8cdd062c7 100755 --- a/src/gns/test_gnunet_gns.sh.in +++ b/src/gns/test_gnunet_gns.sh.in | |||
@@ -8,9 +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 @pkgdatadir@/existence.sh | 11 | if test -e @PKGDATADIRECTORY@/existence.sh |
12 | then | 12 | then |
13 | . @pkgdatadir@/existence.sh | 13 | . @PKGDATADIRECTORY@/existence.sh |
14 | else | 14 | else |
15 | . $dir/../../contrib/build-common/sh/lib.sh/existence.sh | 15 | . $dir/../../contrib/build-common/sh/lib.sh/existence.sh |
16 | fi | 16 | fi |
@@ -22,7 +22,7 @@ fi | |||
22 | $LOCATION --version | 22 | $LOCATION --version |
23 | if test $? != 0 | 23 | if test $? != 0 |
24 | then | 24 | then |
25 | echo "GNUnet command line tools cannot be found, check environmental variables PATH and GNUNET_PREFIX" | 25 | echo "GNUnet command line tools cannot be found, check environmental variables PATH and GNUNET_PREFIX" |
26 | exit 77 | 26 | exit 77 |
27 | fi | 27 | fi |
28 | 28 | ||