Browse Source

Merge pull request #607 from PeterDaveHelloKitchen:Style/FixIndentIn_other_scripts

Fix indentation to two spaces in other_scripts/cpanel_cert_upload
pull/609/head
Tim Kimber 5 years ago
committed by GitHub
parent
commit
3c5bd661fb
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions
  1. +6
    -6
      other_scripts/cpanel_cert_upload

+ 6
- 6
other_scripts/cpanel_cert_upload View File

@ -14,12 +14,12 @@ rawurlencode() {
local pos c o
for (( pos=0 ; pos<strlen ; pos++ )); do
c=${string:$pos:1}
case "$c" in
[-_.~a-zA-Z0-9] ) o="${c}" ;;
* ) printf -v o '%%%02x' "'$c"
esac
encoded+="${o}"
c=${string:$pos:1}
case "$c" in
[-_.~a-zA-Z0-9] ) o="${c}" ;;
* ) printf -v o '%%%02x' "'$c"
esac
encoded+="${o}"
done
echo "${encoded}"
}


Loading…
Cancel
Save