From a2ae4122896db2fab451536d20b2c884c0d2ce19 Mon Sep 17 00:00:00 2001 From: Alin Mr Date: Sat, 31 Dec 2022 07:08:11 +0200 Subject: [PATCH] acme.sh: fix "$@" as str (use $*) --- acme.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/acme.sh b/acme.sh index d8a46a6f..c5d448dd 100755 --- a/acme.sh +++ b/acme.sh @@ -345,7 +345,7 @@ _debug() { fi if [ "${DEBUG:-$DEBUG_LEVEL_NONE}" -ge "$DEBUG_LEVEL_1" ]; then _bash_debug=$(__debug_bash_helper) - _printargs "${_bash_debug}$@" >&2 + _printargs "${_bash_debug}$*" >&2 fi } @@ -379,7 +379,7 @@ _debug2() { fi if [ "${DEBUG:-$DEBUG_LEVEL_NONE}" -ge "$DEBUG_LEVEL_2" ]; then _bash_debug=$(__debug_bash_helper) - _printargs "${_bash_debug}$@" >&2 + _printargs "${_bash_debug}$*" >&2 fi } @@ -412,7 +412,7 @@ _debug3() { fi if [ "${DEBUG:-$DEBUG_LEVEL_NONE}" -ge "$DEBUG_LEVEL_3" ]; then _bash_debug=$(__debug_bash_helper) - _printargs "${_bash_debug}$@" >&2 + _printargs "${_bash_debug}$*" >&2 fi } @@ -537,7 +537,7 @@ _exists() { #a + b _math() { - _m_opts="$@" + _m_opts=$* printf "%s" "$(($_m_opts))" } @@ -2919,9 +2919,9 @@ _exec() { fi if [ "$_EXEC_TEMP_ERR" ]; then - eval "$@ 2>>$_EXEC_TEMP_ERR" + eval "$* 2>>$_EXEC_TEMP_ERR" else - eval "$@" + eval "$*" fi }