summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-10-05 21:10:15 +0200
committerMaciej Barć <xgqt@gentoo.org>2023-10-12 17:52:26 +0200
commit5029c6a4dd5faabea84022b34daa71ff7771daab (patch)
tree023ab0deafdff2a17ba2c9687c73fabe5d563c25 /eclass/dotnet-pkg.eclass
parentx11-wm/blackbox: unkeyword 0.77-r1 (diff)
downloadgentoo-5029c6a4dd5faabea84022b34daa71ff7771daab.tar.gz
gentoo-5029c6a4dd5faabea84022b34daa71ff7771daab.tar.bz2
gentoo-5029c6a4dd5faabea84022b34daa71ff7771daab.zip
eclass/dotnet-pkg*: remove unnecessary auto-append of project dir
Also reorder dotnet-pkg-base_foreach-solution argument positions. Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'eclass/dotnet-pkg.eclass')
-rw-r--r--eclass/dotnet-pkg.eclass6
1 files changed, 4 insertions, 2 deletions
diff --git a/eclass/dotnet-pkg.eclass b/eclass/dotnet-pkg.eclass
index 05886af8554f..201daf1ecce3 100644
--- a/eclass/dotnet-pkg.eclass
+++ b/eclass/dotnet-pkg.eclass
@@ -194,7 +194,9 @@ dotnet-pkg_src_configure() {
dotnet-pkg_foreach-project \
dotnet-pkg-base_restore "${DOTNET_PKG_RESTORE_EXTRA_ARGS[@]}"
- dotnet-pkg-base_foreach-solution dotnet-pkg-base_restore "$(pwd)"
+ dotnet-pkg-base_foreach-solution \
+ "$(pwd)" \
+ dotnet-pkg-base_restore "${DOTNET_PKG_RESTORE_EXTRA_ARGS[@]}"
}
# @FUNCTION: dotnet-pkg_src_compile
@@ -223,7 +225,7 @@ dotnet-pkg_src_compile() {
# will execute wrong or incomplete test suite. Maintainers should inspect if
# any and/or correct tests are ran.
dotnet-pkg_src_test() {
- dotnet-pkg-base_foreach-solution dotnet-pkg-base_test "$(pwd)"
+ dotnet-pkg-base_foreach-solution "$(pwd)" dotnet-pkg-base_test
}
# @FUNCTION: dotnet-pkg_src_install