From e481be10976b4e7b92d71e23ea9859e860c80c09 Mon Sep 17 00:00:00 2001 From: Santeri Kannisto Date: Sat, 2 Jun 2018 08:33:40 +0200 Subject: [PATCH] Trimmed away extra white spaces Prettyprinting --- deploy/cpanel_uapi.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy/cpanel_uapi.sh b/deploy/cpanel_uapi.sh index 8f588f79..06246a49 100644 --- a/deploy/cpanel_uapi.sh +++ b/deploy/cpanel_uapi.sh @@ -19,7 +19,7 @@ __urlencode() { c=${string:$pos:1} case "$c" in [-_.~a-zA-Z0-9] ) o="${c}" ;; - * ) printf -v o '%%%02x' "'$c" + *) printf -v o '%%%02x' "'$c" esac encoded+="${o}" done @@ -55,7 +55,7 @@ cpanel_uapi_deploy() { _certstr=$(cat "$_ccert") _keystr=$(cat "$_ckey") _cert=$(__urlencode "$_certstr") - _key=$(__urlencode "$_keystr") + _key=$(__urlencode "$_keystr") _debug _cert "$_cert" _debug _key "$_key"