From 9a4ad3f48dbae5aa2ffe3536917c754fa9cc5d25 Mon Sep 17 00:00:00 2001 From: Brian Lycett Date: Wed, 16 Jan 2019 15:21:03 +0000 Subject: [PATCH] Add missing forward-slash escapes in sed --- entrypoint | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint b/entrypoint index 521a63b..0a63f36 100644 --- a/entrypoint +++ b/entrypoint @@ -9,7 +9,7 @@ if [ ! "$SERVER_HOSTNAME" ]; then export SERVER_HOSTNAME=example.com; fi if [ "$LDAP_TLS_CACERT" ]; then echo "$LDAP_TLS_CACERT" >/opt/ca.crt - sed -i "s/TLS_CACERT.*/TLS_CACERT /opt/ca.crt/" /etc/ldap/ldap.conf + sed -i "s/TLS_CACERT.*/TLS_CACERT \/opt\/ca.crt/" /etc/ldap/ldap.conf fi