1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-13 11:19:50 +03:00
aports/testing/dotnet5-bootstrap/references_sh-build-fix.patch
2022-02-24 07:03:46 +00:00

27 lines
1.7 KiB
Diff

From f46cf7c4d6e8c92053993ff2081b820aae4ed886 Mon Sep 17 00:00:00 2001
From: Antoine Martin <dev@ayakael.net>
Date: Sat, 8 Jan 2022 17:18:05 +0000
Subject: [PATCH 1/1] fix for sh
Exec Command issue with bad character for busybox sh.
This patches by removing bad character so that it can run with busybox
---
src/targetPacks/assemble.targets | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/targetPacks/assemble.targets b/src/targetPacks/assemble.targets
index e7330ba0..a5ecb921 100644
--- a/src/targetPacks/assemble.targets
+++ b/src/targetPacks/assemble.targets
@@ -87,7 +87,7 @@
<Message Importance="High" Text="[$([System.DateTime]::Now.ToString('HH:mm:ss.ff'))] Assemble TargetingPacks src." />
<MakeDir Directories="@(TargetingPackSrc->'$(ArtifactsTFMPackTemp)$(MSBuildProjectName)/%(RecursiveDir)')" />
<!-- Note: Hack below to not fill up build logs. Ilasm produces warning on validly disassembled il src. The awk below eats just that warning -->
- <Exec Command="set -o pipefail;$(IlasmToolPathSB)ilasm %(TargetingPackSrc.ILSrcFile) -dll -quiet -nologo -output=$(ArtifactsTFMPackTemp)$(MSBuildProjectName)/%(TargetingPackSrc.RelativeOutputAssemblyFile) |&amp; awk '!/warning : Method has no body/'" IgnoreStandardErrorWarningFormat="true"/>
+ <Exec Command="set -o pipefail;$(IlasmToolPathSB)ilasm %(TargetingPackSrc.ILSrcFile) -dll -quiet -nologo -output=$(ArtifactsTFMPackTemp)$(MSBuildProjectName)/%(TargetingPackSrc.RelativeOutputAssemblyFile) | awk '!/warning : Method has no body/'" IgnoreStandardErrorWarningFormat="true"/>
<Message Importance="High" Text="[$([System.DateTime]::Now.ToString('HH:mm:ss.ff'))] Done assembling TargetPacks src." />
</Target>
</Project>
--
2.34.1