GUACAMOLE-1298: Do not include duplicate copies of Apache License for dependencies, moving any additional notes to NOTICE.

This commit is contained in:
Michael Jumper
2021-03-31 12:01:56 -07:00
parent 258e5ae5ac
commit 1a331e3d67
78 changed files with 73 additions and 7596 deletions

View File

@@ -223,7 +223,7 @@ single_result() {
##
license_file() {
DIR="$1"
find "$DIR" -type f \
find "$DIR" -mindepth 1 \
-a \! -iname "*notice*" \
-a \! -name "maven-coordinates.txt" \
-a \! -name "README" \
@@ -339,7 +339,7 @@ EOF
# Include verbatim copy of license information
mkdir -p "$OUTPUT_DIR/bundled/"
cp -r "$LICENSE_INFO_DIR" "$OUTPUT_DIR/bundled/"
cp -Lr "$LICENSE_INFO_DIR" "$OUTPUT_DIR/bundled/"
# Add README describing nature of the "bundled/" directory
cat > "$OUTPUT_DIR/bundled/README" <<EOF