From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1D7821581C1 for ; Sun, 14 Jul 2024 15:27:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 33E6CE2AD0; Sun, 14 Jul 2024 15:27:18 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1B48BE2AD0 for ; Sun, 14 Jul 2024 15:27:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F1084342F9B for ; Sun, 14 Jul 2024 15:27:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 37D351E21 for ; Sun, 14 Jul 2024 15:27:15 +0000 (UTC) From: "Haelwenn Monnier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Haelwenn Monnier" Message-ID: <1720941738.85e5d892dc80013893de85f9358db176b9757c5c.lanodan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: eclass/ X-VCS-Repository: repo/proj/guru X-VCS-Files: eclass/boinc-app.eclass X-VCS-Directories: eclass/ X-VCS-Committer: lanodan X-VCS-Committer-Name: Haelwenn Monnier X-VCS-Revision: 85e5d892dc80013893de85f9358db176b9757c5c X-VCS-Branch: master Date: Sun, 14 Jul 2024 15:27:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d6c94aa4-7f39-4fdc-a83a-33f035ccb6e1 X-Archives-Hash: caf42aa40a63c9b5f5d294ff8658b608 commit: 85e5d892dc80013893de85f9358db176b9757c5c Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Tue Jul 9 15:24:55 2024 +0000 Commit: Haelwenn Monnier hacktivis me> CommitDate: Sun Jul 14 07:22:18 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=85e5d892 boinc-app.eclass: rename boinc-wrapper_foreach_wrapper_job This shouldn't have been like this in the first place. I must've been really sleepy when I was writing this eclass. Signed-off-by: Anna (cybertailor) Vyalkova sysrq.in> eclass/boinc-app.eclass | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/eclass/boinc-app.eclass b/eclass/boinc-app.eclass index 6a386bf2f..689be4992 100644 --- a/eclass/boinc-app.eclass +++ b/eclass/boinc-app.eclass @@ -221,19 +221,19 @@ doappinfo() { _boinc-app_fix_permissions } -# @FUNCTION: boinc-wrapper_foreach_wrapper_job -# @USAGE: +# @FUNCTION: boinc-app_foreach_wrapper_job +# @USAGE: # @DESCRIPTION: # The default foreach_wrapper_job(). It replaces all occurences # of @PV@, @EPREFIX@ and @LIBDIR@ strings with their corresponding values. -boinc-wrapper_foreach_wrapper_job() { +boinc-app_foreach_wrapper_job() { debug-print-function ${FUNCNAME} "${@}" - sed -i "$1" \ + sed -i "${1:?}" \ -e "s:@PV@:${PV}:g" \ -e "s:@EPREFIX@:${EPREFIX}:g" \ -e "s:@LIBDIR@:$(get_libdir):g" \ - || die "$(basename "$1") sed failed" + || die "$(basename "${1}") sed failed" } # @FUNCTION: boinc_install_wrapper @@ -275,7 +275,7 @@ boinc_install_wrapper() { if declare -f foreach_wrapper_job >/dev/null; then foreach_wrapper_job "${T:?}/${job_dest:?}" else - boinc-wrapper_foreach_wrapper_job "${T:?}/${job_dest:?}" + boinc-app_foreach_wrapper_job "${T:?}/${job_dest:?}" fi ( # subshell to avoid pollution of calling environment