Fix regression introduced in 8523874dcec2c4bec0ec5fe7180e6cf4fca9ab9e
[tools.git] / letsencrypt-helper / refresh-acme-certificate
index 6be2295..dc31531 100755 (executable)
@@ -81,7 +81,7 @@ trap "rm -f $TMP_SIGNED_CERT" EXIT
 ACME_TINY_COMMAND="python $ACME_TINY_PROG --account-key $ACME_ACCOUNT_KEY --csr $CSR --acme-dir $ACME_DIR"
 echo "Starting acme-tiny client"
 su -c "$ACME_TINY_COMMAND" -s /bin/sh letsencrypt > $TMP_SIGNED_CERT
-cp $TMP_SIGNED_CERT "$PUBLIC_KEY_DIR/$DOMAIN.intermediate.pem"
+cp $TMP_SIGNED_CERT "$PUBLIC_KEY_DIR/$DOMAIN.intermediate.pem"
 
 if [ -d "$HOOKS_DIR" ];
 then