Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
7746042a
Commit
7746042a
authored
Jun 30, 2022
by
neilpang
Browse files
fix
https://github.com/acmesh-official/acme.sh/issues/4160
fix
https://github.com/acmesh-official/acme.sh/issues/4160
parent
6ccf617d
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
7746042a
...
...
@@ -435,8 +435,10 @@ _secure_debug3() {
fi
}
__USE_TR_RAW="$([ "$(echo "abc" | tr a-z A-Z 2>/dev/null)" = "ABC" ] && echo 1 || echo 0)"
_upper_case() {
if
_is_solaris
; then
if
[ "$__USE_TR_RAW" = "0" ]
; then
tr '[:lower:]' '[:upper:]'
else
# shellcheck disable=SC2018,SC2019
...
...
@@ -445,7 +447,7 @@ _upper_case() {
}
_lower_case() {
if
_is_solaris
; then
if
[ "$__USE_TR_RAW" = "0" ]
; then
tr '[:upper:]' '[:lower:]'
else
# shellcheck disable=SC2018,SC2019
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment