Browse Source

Merge branch 'acmesh-official:dev' into dev

pull/4158/head
lufi42 2 years ago
committed by GitHub
parent
commit
40e0d72105
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      acme.sh

6
acme.sh

@ -435,8 +435,10 @@ _secure_debug3() {
fi fi
} }
__USE_TR_RAW="$([ "$(echo "abc" | tr a-z A-Z 2>/dev/null)" = "ABC" ] && echo 1 || echo 0)"
_upper_case() { _upper_case() {
if _is_solaris; then
if [ "$__USE_TR_RAW" = "0" ]; then
tr '[:lower:]' '[:upper:]' tr '[:lower:]' '[:upper:]'
else else
# shellcheck disable=SC2018,SC2019 # shellcheck disable=SC2018,SC2019
@ -445,7 +447,7 @@ _upper_case() {
} }
_lower_case() { _lower_case() {
if _is_solaris; then
if [ "$__USE_TR_RAW" = "0" ]; then
tr '[:upper:]' '[:lower:]' tr '[:upper:]' '[:lower:]'
else else
# shellcheck disable=SC2018,SC2019 # shellcheck disable=SC2018,SC2019

Loading…
Cancel
Save