From 8df763f5fea805beaa35199ff9b362b3ee7df4dd Mon Sep 17 00:00:00 2001 From: Dennis Stosberg Date: Sun, 24 Jan 2016 16:26:53 +0100 Subject: [PATCH] create ACL directory if it does not exist --- getssl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/getssl b/getssl index 92b7a7d..1134306 100755 --- a/getssl +++ b/getssl @@ -158,6 +158,10 @@ copy_file_to_location() { scp $from ${to:4}" fi else + mkdir -p $to + if [ $? -gt 0 ]; then + error_exit "cannot create ACL directory $to" + fi cp $from $to fi debug "copied $from to $to"