summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2024-10-08 17:31:52 +0200
committerDavid Seifert <soap@gentoo.org>2024-10-08 17:31:52 +0200
commitc8af7eb1285a2683460618b71e2e9a14ca6badcd (patch)
tree09f23f2e4455b902bbc3f505b56b7e0433e90d91 /eclass/secureboot.eclass
parenteclass: standardize inherit guard (diff)
downloadgentoo-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/secureboot.eclass')
-rw-r--r--eclass/secureboot.eclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/secureboot.eclass b/eclass/secureboot.eclass
index 4459b0341845..52a7a636ddd2 100644
--- a/eclass/secureboot.eclass
+++ b/eclass/secureboot.eclass
@@ -74,7 +74,7 @@ _SECUREBOOT_ECLASS=1
# If USE=secureboot is enabled die if the required user variables are unset
# and die if the keys can't be found.
_secureboot_die_if_unset() {
- debug-print-function ${FUNCNAME[0]} "${@}"
+ debug-print-function ${FUNCNAME} "$@"
use secureboot || return
if [[ -z ${SECUREBOOT_SIGN_KEY} || -z ${SECUREBOOT_SIGN_CERT} ]]; then
@@ -99,7 +99,7 @@ _secureboot_die_if_unset() {
# @DESCRIPTION:
# Checks if required user variables are set before starting the build
secureboot_pkg_setup() {
- debug-print-function ${FUNCNAME[0]} "${@}"
+ debug-print-function ${FUNCNAME} "$@"
use secureboot || return
# If we are merging a binary then the files in this binary
@@ -117,7 +117,7 @@ secureboot_pkg_setup() {
# If no output file is specified the output file will be the same
# as the input file, i.e. the file will be overwritten.
secureboot_sign_efi_file() {
- debug-print-function ${FUNCNAME[0]} "${@}"
+ debug-print-function ${FUNCNAME} "$@"
use secureboot || return
local input_file=${1}
@@ -153,7 +153,7 @@ secureboot_sign_efi_file() {
# By default signed files gain the .signed suffix. If the --in-place
# argument is given the efi files are replaced with a signed version in place.
secureboot_auto_sign() {
- debug-print-function ${FUNCNAME[0]} "${@}"
+ debug-print-function ${FUNCNAME} "$@"
use secureboot || return
[[ ${EBUILD_PHASE} == install ]] ||