From 31b13506e457b93619d88f6a34ca0ed0645eea8c Mon Sep 17 00:00:00 2001 From: Omair Majid Date: Wed, 27 Jul 2022 14:56:35 -0400 Subject: [PATCH] Clarify comments about license/crypto files --- build-dotnet-tarball | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/build-dotnet-tarball b/build-dotnet-tarball index e45d0e4..948bb56 100755 --- a/build-dotnet-tarball +++ b/build-dotnet-tarball @@ -178,8 +178,15 @@ else rm -rf .dotnet fi -# Remove files with funny licenses, crypto implementations and other -# not-very-useful artifacts to reduce tarball size +# Remove files with funny licenses and crypto implementations and +# other not-very-useful artifacts. We MUST NOT ship any files that +# have unapproved licenses and unexpected cryptographic +# implementations. +# +# We use rm -r (no -f) to make sure the operation fails if the files +# are not at the expected locations. If the files are not at the +# expected location, we need to find the new location of the files and +# delete them, or verify that upstream has already removed the files. # Binaries for gradle rm -r src/aspnetcore/src/SignalR/clients/java/signalr/gradle*