From 54e97d92cd721217610fc16ef267ea970d49c56e Mon Sep 17 00:00:00 2001
From: "Hahn Axel (hahn)" <axel.hahn@iml.unibe.ch>
Date: Mon, 4 Apr 2022 10:09:38 +0200
Subject: [PATCH] remove quting to  expand tilde to $HOME

---
 cm.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cm.sh b/cm.sh
index 63f9ec4..8583fc8 100755
--- a/cm.sh
+++ b/cm.sh
@@ -520,7 +520,7 @@ function public_renew(){
 
 	# BUGFIX: acme.sh does not create a new key file on renew.
 	# After switching from csr method to pram -d we got a 0 byte Keyfile
-	local _acme_keyfile="~/.acme.sh/${CM_fqdn}/${CM_fqdn}.key"
+	local _acme_keyfile=~/.acme.sh/${CM_fqdn}/${CM_fqdn}.key
 	if test ! -f "$_acme_keyfile"
 	then
 		echo "FIX: copy key from csr folder $CM_filekey to $_acme_keyfile"
-- 
GitLab