summaryrefslogtreecommitdiff
path: root/eclass/dotnet-pkg-base.eclass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-10-09 04:26:33 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-10-09 04:26:33 +0100
commit6ee17dd82a3bcd0e90af4ebfbb3e411d342761be (patch)
tree5ade54018efa76614b79d832bbe15a22021b6d8c /eclass/dotnet-pkg-base.eclass
parent325837835fc86686829aaa6acace3d3c06c74cea (diff)
gentoo auto-resync : 09:10:2024 - 04:26:32
Diffstat (limited to 'eclass/dotnet-pkg-base.eclass')
-rw-r--r--eclass/dotnet-pkg-base.eclass30
1 files changed, 15 insertions, 15 deletions
diff --git a/eclass/dotnet-pkg-base.eclass b/eclass/dotnet-pkg-base.eclass
index a2d95f15a2fb..15e9ba703baa 100644
--- a/eclass/dotnet-pkg-base.eclass
+++ b/eclass/dotnet-pkg-base.eclass
@@ -188,7 +188,7 @@ dotnet-pkg-base_get-configuration() {
#
# This function is used inside "dotnet-pkg-base_setup".
dotnet-pkg-base_get-output() {
- debug-print-function "${FUNCNAME[0]}" "${@}"
+ debug-print-function ${FUNCNAME} "$@"
[[ -z ${DOTNET_PKG_CONFIGURATION} ]] &&
die "${FUNCNAME[0]}: DOTNET_PKG_CONFIGURATION is not set."
@@ -266,7 +266,7 @@ dotnet-pkg-base_setup() {
#
# Used by "dotnet-pkg_src_prepare" from the "dotnet-pkg" eclass.
dotnet-pkg-base_remove-global-json() {
- debug-print-function "${FUNCNAME[0]}" "${@}"
+ debug-print-function ${FUNCNAME} "$@"
local file="${1:-.}"/global.json
@@ -282,7 +282,7 @@ dotnet-pkg-base_remove-global-json() {
# @DESCRIPTION:
# Call dotnet, passing the supplied arguments.
edotnet() {
- debug-print-function "${FUNCNAME[0]}" "${@}"
+ debug-print-function ${FUNCNAME} "$@"
if [[ -z ${DOTNET_PKG_EXECUTABLE} ]] ; then
die "${FUNCNAME[0]}: DOTNET_PKG_EXECUTABLE not set. Was dotnet-pkg-base_setup called?"
@@ -301,7 +301,7 @@ edotnet() {
# Used by "dotnet-pkg_src_configure" from the "dotnet-pkg" eclass.
dotnet-pkg-base_info() {
if [[ ${CATEGORY}/${PN} == dev-dotnet/csharp-gentoodotnetinfo ]] ; then
- debug-print-function "${FUNCNAME[0]}: ${P} is a special package, skipping dotnet-pkg-base_info"
+ debug-print-function ${FUNCNAME} "${P} is a special package, skipping dotnet-pkg-base_info"
elif command -v gentoo-dotnet-info >/dev/null ; then
gentoo-dotnet-info || die "${FUNCNAME[0]}: failed to execute gentoo-dotnet-info"
else
@@ -316,7 +316,7 @@ dotnet-pkg-base_info() {
#
# Used by "dotnet-pkg_remove-bad" from the "dotnet-pkg" eclass.
dotnet-pkg-base_sln-remove() {
- debug-print-function "${FUNCNAME[0]}" "${@}"
+ debug-print-function ${FUNCNAME} "$@"
[[ -z ${1} ]] && die "${FUNCNAME[0]}: no solution file specified"
[[ -z ${2} ]] && die "${FUNCNAME[0]}: no project file specified"
@@ -334,7 +334,7 @@ dotnet-pkg-base_sln-remove() {
# Used by "dotnet-pkg_src_configure" and "dotnet-pkg_src_test" from
# the "dotnet-pkg" eclass.
dotnet-pkg-base_foreach-solution() {
- debug-print-function "${FUNCNAME[0]}" "${@}"
+ debug-print-function ${FUNCNAME} "$@"
local directory="${1}"
shift
@@ -362,7 +362,7 @@ dotnet-pkg-base_foreach-solution() {
#
# Used by "dotnet-pkg_src_configure" from the "dotnet-pkg" eclass.
dotnet-pkg-base_restore() {
- debug-print-function "${FUNCNAME[0]}" "${@}"
+ debug-print-function ${FUNCNAME} "$@"
local -a restore_args=(
--runtime "${DOTNET_PKG_RUNTIME}"
@@ -385,7 +385,7 @@ dotnet-pkg-base_restore() {
# Additionally any number of "args" maybe be given, they are appended to
# the "dotnet" command invocation.
dotnet-pkg-base_restore-tools() {
- debug-print-function "${FUNCNAME[0]}" "${@}"
+ debug-print-function ${FUNCNAME} "$@"
local -a tool_restore_args=(
--add-source "${NUGET_PACKAGES}"
@@ -421,7 +421,7 @@ dotnet-pkg-base_restore_tools() {
#
# Used by "dotnet-pkg_src_compile" from the "dotnet-pkg" eclass.
dotnet-pkg-base_build() {
- debug-print-function "${FUNCNAME[0]}" "${@}"
+ debug-print-function ${FUNCNAME} "$@"
local -a build_args=(
--configuration "${DOTNET_PKG_CONFIGURATION}"
@@ -459,7 +459,7 @@ dotnet-pkg-base_build() {
#
# Used by "dotnet-pkg_src_test" from the "dotnet-pkg" eclass.
dotnet-pkg-base_test() {
- debug-print-function "${FUNCNAME[0]}" "${@}"
+ debug-print-function ${FUNCNAME} "$@"
local -a test_args=(
--configuration "${DOTNET_PKG_CONFIGURATION}"
@@ -479,7 +479,7 @@ dotnet-pkg-base_test() {
#
# Installation directory is relative to "ED".
dotnet-pkg-base_install() {
- debug-print-function "${FUNCNAME[0]}" "${@}"
+ debug-print-function ${FUNCNAME} "$@"
local installation_directory="${1:-/usr/share/${P}}"
@@ -495,7 +495,7 @@ dotnet-pkg-base_install() {
#
# For more info see the "_DOTNET_PKG_LAUNCHERDEST" variable.
dotnet-pkg-base_launcherinto() {
- debug-print-function "${FUNCNAME[0]}" "${@}"
+ debug-print-function ${FUNCNAME} "$@"
[[ -z ${1} ]] && die "${FUNCNAME[0]}: no directory specified"
@@ -519,7 +519,7 @@ dotnet-pkg-base_launcherinto() {
#
# For more info see the "_DOTNET_PKG_LAUNCHERVARS" variable.
dotnet-pkg-base_append-launchervar() {
- debug-print-function "${FUNCNAME[0]}" "${@}"
+ debug-print-function ${FUNCNAME} "$@"
[[ -z ${1} ]] && die "${FUNCNAME[0]}: no variable setting specified"
@@ -553,7 +553,7 @@ dotnet-pkg-base_append_launchervar() {
#
# The path is prepended by "EPREFIX".
dotnet-pkg-base_dolauncher() {
- debug-print-function "${FUNCNAME[0]}" "${@}"
+ debug-print-function ${FUNCNAME} "$@"
local executable_path executable_name
@@ -618,7 +618,7 @@ dotnet-pkg-base_dolauncher() {
#
# The path is prepended by "EPREFIX".
dotnet-pkg-base_dolauncher-portable() {
- debug-print-function "${FUNCNAME[0]}" "${@}"
+ debug-print-function ${FUNCNAME} "$@"
local dll_path="${1}"
local executable_name="${2}"