From e2eda7eb7c9375b488cc141c2eb89b53f524e812 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 20 Mar 2014 19:33:13 +0000 Subject: style fix: change `...` to $(...) --- eclass/ssl-cert.eclass | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'eclass/ssl-cert.eclass') diff --git a/eclass/ssl-cert.eclass b/eclass/ssl-cert.eclass index e082e9519398..12266ae6b3cb 100644 --- a/eclass/ssl-cert.eclass +++ b/eclass/ssl-cert.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ssl-cert.eclass,v 1.23 2014/03/20 19:32:09 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ssl-cert.eclass,v 1.24 2014/03/20 19:33:13 vapier Exp $ # @ECLASS: ssl-cert.eclass # @MAINTAINER: @@ -104,7 +104,7 @@ get_base() { # # Access: private gen_key() { - local base=`get_base $1` + local base=$(get_base "$1") ebegin "Generating ${SSL_BITS} bit RSA key${1:+ for CA}" openssl genrsa -rand "${SSL_RANDOM}" \ -out "${base}.key" "${SSL_BITS}" &> /dev/null @@ -121,7 +121,7 @@ gen_key() { # # Access: private gen_csr() { - local base=`get_base $1` + local base=$(get_base "$1") ebegin "Generating Certificate Signing Request${1:+ for CA}" openssl req -config "${SSL_CONF}" -new \ -key "${base}.key" -out "${base}.csr" &>/dev/null @@ -140,14 +140,14 @@ gen_csr() { # # Access: private gen_crt() { - local base=`get_base $1` + local base=$(get_base "$1") if [ "${1}" ] ; then ebegin "Generating self-signed X.509 Certificate for CA" openssl x509 -extfile "${SSL_CONF}" \ -days ${SSL_DAYS} -req -signkey "${base}.key" \ -in "${base}.csr" -out "${base}.crt" &>/dev/null else - local ca=`get_base 1` + local ca=$(get_base 1) ebegin "Generating authority-signed X.509 Certificate" openssl x509 -extfile "${SSL_CONF}" \ -days ${SSL_DAYS} -req -CAserial "${SSL_SERIAL}" \ @@ -167,7 +167,7 @@ gen_crt() { # # Access: private gen_pem() { - local base=`get_base $1` + local base=$(get_base "$1") ebegin "Generating PEM Certificate" (cat "${base}.key"; echo; cat "${base}.crt") > "${base}.pem" eend $? -- cgit v1.2.3-65-gdbad