From c214cba981b8e2cf78f05b859fb311e9b86b1dc9 Mon Sep 17 00:00:00 2001 From: Stephan <59093905+stephan-devop@users.noreply.github.com> Date: Tue, 23 Mar 2021 14:50:29 +0100 Subject: [PATCH] Make directory with parent directories (#1862) --- target/bin/generate-ssl-certificate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/bin/generate-ssl-certificate b/target/bin/generate-ssl-certificate index 00de8b30..221309b1 100755 --- a/target/bin/generate-ssl-certificate +++ b/target/bin/generate-ssl-certificate @@ -14,7 +14,7 @@ SSL_CFG_PATH="/tmp/docker-mailserver/ssl" if [[ ! -d ${SSL_CFG_PATH} ]] then - mkdir "${SSL_CFG_PATH}" + mkdir --parents "${SSL_CFG_PATH}" fi cd "${SSL_CFG_PATH}" || { echo "cd ${SSL_CFG_PATH} error" ; exit ; }