Skip to content

Commit b2c8fb5

Browse files
committed
Attempt to fix delimiter/cmd line parting issue
1 parent c76167d commit b2c8fb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Microsoft.DotNet.Docker.Tests/SdkImageTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ private IEnumerable<SdkContentFileInfo> GetActualSdkContents(ProductImageData im
238238
// Alpine has limited find syntax support
239239
if (imageData.SdkOS.Family == OSFamily.Alpine)
240240
{
241-
command = $"sh -c \"find {destinationPath} -type f -o -type l -exec sha512sum {{}} +\"";
241+
command = $"sh -c 'find {destinationPath} \\\\(-type f -o -type l\\\\) -exec sha512sum {{}} +'";
242242
}
243243
else
244244
{

0 commit comments

Comments
 (0)