diff options
| author | David Seifert <soap@gentoo.org> | 2024-10-08 17:31:52 +0200 |
|---|---|---|
| committer | David Seifert <soap@gentoo.org> | 2024-10-08 17:31:52 +0200 |
| commit | c8af7eb1285a2683460618b71e2e9a14ca6badcd (patch) | |
| tree | 09f23f2e4455b902bbc3f505b56b7e0433e90d91 /eclass/llvm-utils.eclass | |
| parent | ec9bd064a3b2e495970f49d751d57ca62fa77b84 (diff) | |
| download | gentoo-c8af7eb1285a2683460618b71e2e9a14ca6badcd.tar.gz gentoo-c8af7eb1285a2683460618b71e2e9a14ca6badcd.tar.bz2 gentoo-c8af7eb1285a2683460618b71e2e9a14ca6badcd.zip | |
eclass: canonicalize debug-print-function calls
Closes: https://github.com/gentoo/gentoo/pull/37652
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'eclass/llvm-utils.eclass')
| -rw-r--r-- | eclass/llvm-utils.eclass | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/llvm-utils.eclass b/eclass/llvm-utils.eclass index d38ba3a988f1..1ae3295484c8 100644 --- a/eclass/llvm-utils.eclass +++ b/eclass/llvm-utils.eclass @@ -27,7 +27,7 @@ _LLVM_UTILS_ECLASS=1 # Translate a tuple into a target suitable for LLVM_TARGETS. # Defaults to ${CHOST} if not specified. llvm_tuple_to_target() { - debug-print-function ${FUNCNAME} "${@}" + debug-print-function ${FUNCNAME} "$@" [[ ${#} -gt 1 ]] && die "Usage: ${FUNCNAME} [<tuple>]" @@ -61,7 +61,7 @@ llvm_tuple_to_target() { # the major version, to prevent PATH alterations from forcing an older # clang version being used. llvm_fix_clang_version() { - debug-print-function ${FUNCNAME} "${@}" + debug-print-function ${FUNCNAME} "$@" local shopt_save=$(shopt -p -o noglob) set -f @@ -95,7 +95,7 @@ llvm_fix_clang_version() { # current location, to prevent PATH alterations from forcing older # versions being used. llvm_fix_tool_path() { - debug-print-function ${FUNCNAME} "${@}" + debug-print-function ${FUNCNAME} "$@" local shopt_save=$(shopt -p -o noglob) set -f @@ -118,7 +118,7 @@ llvm_fix_tool_path() { # Prepend the path to the specified LLVM slot to PATH variable, # and reexport it. llvm_prepend_path() { - debug-print-function ${FUNCNAME} "${@}" + debug-print-function ${FUNCNAME} "$@" [[ ${#} -ne 1 ]] && die "Usage: ${FUNCNAME} <slot>" local slot=${1} |
