aboutsummaryrefslogtreecommitdiff
path: root/src/gns/gnunet-gns-proxy-setup-ca.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/gnunet-gns-proxy-setup-ca.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/gnunet-gns-proxy-setup-ca.in')
-rw-r--r--src/gns/gnunet-gns-proxy-setup-ca.in20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/gns/gnunet-gns-proxy-setup-ca.in b/src/gns/gnunet-gns-proxy-setup-ca.in
index 7a79c7994..602aadb2a 100644
--- a/src/gns/gnunet-gns-proxy-setup-ca.in
+++ b/src/gns/gnunet-gns-proxy-setup-ca.in
@@ -48,30 +48,30 @@
48 48
49dir=$(dirname "$0") 49dir=$(dirname "$0")
50 50
51if test -e @pkgdatadir@/progname.sh 51if test -e @PKGDATADIRECTORY@/progname.sh
52then 52then
53 . @pkgdatadir@/progname.sh 53 . @PKGDATADIRECTORY@/progname.sh
54else 54else
55 . $dir/../../contrib/build-common/sh/lib.sh/progname.sh 55 . $dir/../../contrib/build-common/sh/lib.sh/progname.sh
56fi 56fi
57 57
58if test -e @pkgdatadir@/existence.sh 58if test -e @PKGDATADIRECTORY@/existence.sh
59then 59then
60 . @pkgdatadir@/existence.sh 60 . @PKGDATADIRECTORY@/existence.sh
61else 61else
62 . $dir/../../contrib/build-common/sh/lib.sh/existence.sh 62 . $dir/../../contrib/build-common/sh/lib.sh/existence.sh
63fi 63fi
64 64
65if test -e @pkgdatadir@/msg.sh 65if test -e @PKGDATADIRECTORY@/msg.sh
66then 66then
67 . @pkgdatadir@/msg.sh 67 . @PKGDATADIRECTORY@/msg.sh
68else 68else
69 . $dir/../../contrib/build-common/sh/lib.sh/msg.sh 69 . $dir/../../contrib/build-common/sh/lib.sh/msg.sh
70fi 70fi
71 71
72if test -e @pkgdatadir@/version_gnunet.sh 72if test -e @PKGDATADIRECTORY@/version_gnunet.sh
73then 73then
74 . @pkgdatadir@/version_gnunet.sh 74 . @PKGDATADIRECTORY@/version_gnunet.sh
75else 75else
76 . $dir/../../contrib/build-common/sh/lib.sh/version_gnunet.sh 76 . $dir/../../contrib/build-common/sh/lib.sh/version_gnunet.sh
77fi 77fi
@@ -143,8 +143,8 @@ generate_ca()
143 143
144 # ------------- openssl 144 # ------------- openssl
145 145
146 GNUTLS_CA_TEMPLATE=@pkgdatadir@/gnunet-gns-proxy-ca.template 146 GNUTLS_CA_TEMPLATE=@PKGDATADIRECTORY@/gnunet-gns-proxy-ca.template
147 OPENSSLCFG=@pkgdatadir@/openssl.cnf 147 OPENSSLCFG=@PKGDATADIRECTORY@/openssl.cnf
148 CERTTOOL="" 148 CERTTOOL=""
149 OPENSSL=0 149 OPENSSL=0
150 if test -x $(existence gnunet-certtool) 150 if test -x $(existence gnunet-certtool)