aboutsummaryrefslogtreecommitdiff
path: root/src/gns/test_gnunet_gns.sh.in
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-12-02 15:30:56 +0000
committerng0 <ng0@n0.is>2019-12-02 15:30:56 +0000
commitc8e5e28048dd9605f7958ef95f2a6dd626658069 (patch)
tree52375a14cc93c4161a658b4c7a1926dda11d8909 /src/gns/test_gnunet_gns.sh.in
parent53f35813d89de6f7c91883277129ffda3ca5b772 (diff)
downloadgnunet-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-xsrc/gns/test_gnunet_gns.sh.in6
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.
9dir=$(dirname "$0") 9dir=$(dirname "$0")
10 10
11if test -e @pkgdatadir@/existence.sh 11if test -e @PKGDATADIRECTORY@/existence.sh
12then 12then
13 . @pkgdatadir@/existence.sh 13 . @PKGDATADIRECTORY@/existence.sh
14else 14else
15 . $dir/../../contrib/build-common/sh/lib.sh/existence.sh 15 . $dir/../../contrib/build-common/sh/lib.sh/existence.sh
16fi 16fi
@@ -22,7 +22,7 @@ fi
22$LOCATION --version 22$LOCATION --version
23if test $? != 0 23if test $? != 0
24then 24then
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
27fi 27fi
28 28