separate define and assign updated env vars

This commit is contained in:
Asif Bacchus 2019-11-18 00:56:28 -07:00
parent f8d228b277
commit 3ae78311f5

View File

@ -10,9 +10,14 @@ convertCase () {
}
# convert environment variables to UPPERCASE for proper string comparison
export ACCESS_LOG=$(convertCase "$ACCESS_LOG")
export HSTS=$(convertCase "$HSTS")
export TLS13_ONLY=$(convertCase "$TLS13_ONLY")
ACCESS_LOG=$(convertCase "$ACCESS_LOG")
HSTS=$(convertCase "$HSTS")
TLS13_ONLY=$(convertCase "$TLS13_ONLY")
# export new environment variables
export ACCESS_LOG=$ACCESS_LOG
export HSTS=$HSTS
export TLS13_ONLY=$TLS13_ONLY
### update configuration files with environment variables
# update server name list