Merge pull request #3813 from acmesh-official/dev

fix https://github.com/acmesh-official/acme.sh/issues/3806
This commit is contained in:
neil authored and GitHub committed 2021-11-19 13:35:18 +08:00
commit e384df30fa
1 file changed
+13 -3
+13 -3
View File
@@ -429,17 +429,27 @@ _secure_debug3() {
}
_upper_case() {
tr '[:lower:]' '[:upper:]'
if _is_solaris; then
tr '[:lower:]' '[:upper:]'
else
# shellcheck disable=SC2018,SC2019
tr 'a-z' 'A-Z'
fi
}
_lower_case() {
tr '[:upper:]' '[:lower:]'
if _is_solaris; then
tr '[:upper:]' '[:lower:]'
else
# shellcheck disable=SC2018,SC2019
tr 'A-Z' 'a-z'
fi
}
_startswith() {
_str="$1"
_sub="$2"
echo "$_str" | grep "^$_sub" >/dev/null 2>&1
echo "$_str" | grep -- "^$_sub" >/dev/null 2>&1
}
_endswith() {
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.