ayaports/apk/v3.14/main/dotnet-3.1/build_darc-fix-alpine.patch
2021-11-30 21:44:44 +00:00

26 lines
877 B
Diff

From d07d50c6f8a5793badc50fb2c964b87dec87a3a1 Mon Sep 17 00:00:00 2001
From: "build@apk-groulx" <build@apk-groulx.praxis>
Date: Thu, 15 Jul 2021 15:37:33 +0000
Subject: [PATCH 1/1] Fixed darc init for Alpine
---
eng/common/darc-init.sh | 3 +++
1 file changed, 3 insertions(+)
diff --git a/eng/common/darc-init.sh b/eng/common/darc-init.sh
index 82b2b57..5227a37 100755
--- a/eng/common/darc-init.sh
+++ b/eng/common/darc-init.sh
@@ -77,6 +77,9 @@ function InstallDarcCli {
else
echo $($dotnet_root/dotnet tool install $darc_cli_package_name --version $darcVersion --add-source "$arcadeServicesSource" -v $verbosity --tool-path "$toolpath")
fi
+ for i in win* ubuntu.1* rhel-x64 osx fedora-x64 debian*; do
+ rm -R $toolpath/.store/microsoft.dotnet.darc/*/microsoft.dotnet.darc/*/tools/netcoreapp3.0/any/runtimes/${i}
+ done
}
InstallDarcCli
--
2.30.2