summaryrefslogtreecommitdiff
path: root/eclass/tmpfiles.eclass
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/tmpfiles.eclass
parentec9bd064a3b2e495970f49d751d57ca62fa77b84 (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/tmpfiles.eclass')
-rw-r--r--eclass/tmpfiles.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/tmpfiles.eclass b/eclass/tmpfiles.eclass
index aed792adad1c..f543eaf4eb1d 100644
--- a/eclass/tmpfiles.eclass
+++ b/eclass/tmpfiles.eclass
@@ -76,7 +76,7 @@ fi
# @DESCRIPTION:
# Install one or more tmpfiles.d files into /usr/lib/tmpfiles.d.
dotmpfiles() {
- debug-print-function "${FUNCNAME}" "$@"
+ debug-print-function ${FUNCNAME} "$@"
local f
for f; do
@@ -97,7 +97,7 @@ dotmpfiles() {
# @DESCRIPTION:
# Install a tmpfiles.d file in /usr/lib/tmpfiles.d under a new name.
newtmpfiles() {
- debug-print-function "${FUNCNAME}" "$@"
+ debug-print-function ${FUNCNAME} "$@"
if [[ $2 != *.conf ]]; then
die "tmpfiles.d files must end with .conf"
@@ -116,7 +116,7 @@ newtmpfiles() {
# Call a tmpfiles.d implementation to create new volatile and temporary
# files and directories.
tmpfiles_process() {
- debug-print-function "${FUNCNAME}" "$@"
+ debug-print-function ${FUNCNAME} "$@"
[[ ${EBUILD_PHASE} == postinst ]] || die "${FUNCNAME}: Only valid in pkg_postinst"
[[ ${#} -gt 0 ]] || die "${FUNCNAME}: Must specify at least one filename"