summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/transport/Makefile.am5
-rw-r--r--src/transport/gnunet-transport-certificate-creation.in2
2 files changed, 4 insertions, 3 deletions
diff --git a/src/transport/Makefile.am b/src/transport/Makefile.am
index 2b09ccf63..7bd07b905 100644
--- a/src/transport/Makefile.am
+++ b/src/transport/Makefile.am
@@ -268,8 +268,9 @@ do_subst = sed -e 's,[@]pkgdatadir[@],$(pkgdatadir),g'
gnunet-transport-certificate-creation: gnunet-transport-certificate-creation.in Makefile
- $(do_subst) < $(srcdir)/gnunet-transport-certificate-creation.in > gnunet-transport-certificate-creation
- chmod +x gnunet-transport-certificate-creation
+ $(AWK) -v bdir="$(bindir)" -v py="$(PYTHON)" -v awkay="$(AWK_BINARY)" -v pfx="$(prefix)" -v prl="$(PERL)" -v sysconfdirectory="$(sysconfdir)" -v pkgdatadirectory="$(pkgdatadir)" -f $(top_srcdir)/bin/dosubst.awk < $(srcdir)/gnunet-transport-certificate-creation.in > gnunet-transport-certificate-creation
+ @chmod +x gnunet-transport-certificate-creation
+
diff --git a/src/transport/gnunet-transport-certificate-creation.in b/src/transport/gnunet-transport-certificate-creation.in
index dfcb4e8e9..771422a7a 100644
--- a/src/transport/gnunet-transport-certificate-creation.in
+++ b/src/transport/gnunet-transport-certificate-creation.in
@@ -109,7 +109,7 @@ generate_cert_key()
CERTTOOL=""
GNUTLS_CA_TEMPLATE=@PKGDATADIRECTORY@/gnunet-gns-proxy-ca.template
OPENSSL=0
- if test -x $(existence gnunet-certtool)
+ if test -x $(existence gnutls-certtool)
#if test -z "`gnutls-certtool --version`" > /dev/null
then
if test -z "`certtool --version | grep gnutls`" > /dev/null