From 81f645bdfb336b793fff5ac9dff92dd17e493d16 Mon Sep 17 00:00:00 2001 From: ingalls Date: Tue, 22 Oct 2024 14:00:22 -0600 Subject: [PATCH] Fix LDAP Domain --- start | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/start b/start index b0c84f4..26b96e9 100755 --- a/start +++ b/start @@ -3,10 +3,10 @@ set -euo pipefail echo "Generating LDIF" -echo "Domain: ${LDAPDomain}" +echo "Domain: ${LDAP_DOMAIN}" -ORG=$(echo "${LDAPDomain}" | sed 's/\..*$//') -TLD=$(echo "${LDAPDomain}" | sed 's/^.*\.//') +ORG="$(echo "${LDAP_DOMAIN}" | sed 's/\..*$//')" +TLD="$(echo "${LDAP_DOMAIN}" | sed 's/^.*\.//')" echo "ORG: ${ORG}" echo "TLD: ${TLD}"