commit:     ea1f96da6f428d686b9e1b96f66548e2d52782e6
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Mon Jan  1 19:27:33 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Mon Jan  1 20:29:37 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea1f96da

dev-dotnet/netcoredbg: rmove nuget.config files with find

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-dotnet/netcoredbg/netcoredbg-3.0.0.1012.ebuild | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/dev-dotnet/netcoredbg/netcoredbg-3.0.0.1012.ebuild 
b/dev-dotnet/netcoredbg/netcoredbg-3.0.0.1012.ebuild
index a54b30a02cb2..9605178c2d4e 100644
--- a/dev-dotnet/netcoredbg/netcoredbg-3.0.0.1012.ebuild
+++ b/dev-dotnet/netcoredbg/netcoredbg-3.0.0.1012.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -198,11 +198,13 @@ src_prepare() {
        fi
 
        export DOTNET_CLI_TELEMETRY_OPTOUT=1
+       export DOTNET_NOLOGO=1
        export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
        export MSBUILDDISABLENODEREUSE=1
        export UseSharedCompilation=false
 
-       cat <<EOF > nuget.config || die
+       find "${S}" -type f -iname nuget.config -exec rm -v {} + || die
+       cat <<-EOF > NuGet.config || die
 <?xml version="1.0" encoding="utf-8"?>
 <configuration>
 <packageSources>
@@ -211,7 +213,7 @@ src_prepare() {
 </packageSources>
 </configuration>
 EOF
-       cp nuget.config tools/generrmsg/nuget.xml || die
+       cp NuGet.config tools/generrmsg/nuget.xml || die
 
        cmake_src_prepare
 }

Reply via email to