From ff7d7d91c163546617ec4fabfa69f8dcf94a85a3 Mon Sep 17 00:00:00 2001 From: fortuna Date: Thu, 10 Jan 2019 11:11:51 -0500 Subject: [PATCH] Make CERTIFICATE_NAME readonly --- src/shadowbox/scripts/make_test_certificate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shadowbox/scripts/make_test_certificate.sh b/src/shadowbox/scripts/make_test_certificate.sh index d4cb59e96..35d62c9b4 100755 --- a/src/shadowbox/scripts/make_test_certificate.sh +++ b/src/shadowbox/scripts/make_test_certificate.sh @@ -17,7 +17,7 @@ # Make a certificate for development purposes, and populate the # corresponding environment variables. -CERTIFICATE_NAME="$1/shadowbox-selfsigned-dev" +readonly CERTIFICATE_NAME="$1/shadowbox-selfsigned-dev" export SB_CERTIFICATE_FILE="${CERTIFICATE_NAME}.crt" export SB_PRIVATE_KEY_FILE="${CERTIFICATE_NAME}.key" declare -a openssl_req_flags=(