From b6887d346fd5d54a9b778a5b27326c09ab774958 Mon Sep 17 00:00:00 2001 From: Dima Krasner Date: Mon, 2 May 2022 16:33:07 +0800 Subject: [PATCH] scripts/functions: collect license files named COPYRIGHT* Signed-off-by: Dima Krasner --- scripts/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/functions b/scripts/functions index 5874c854..c6308c66 100644 --- a/scripts/functions +++ b/scripts/functions @@ -2508,7 +2508,7 @@ CT_InstallCopyingInformation() CT_DoLog EXTRA "Collect license information from: ${CT_SRC_DIR}" CT_DoLog EXTRA "Put the license information to: ${CT_PREFIX_DIR}/share/licenses" - for licfile in $( find "${CT_SRC_DIR}" -follow -type f -a \( -name "COPYING*" -o -name "LICENSE*" \) ); do + for licfile in $( find "${CT_SRC_DIR}" -follow -type f -a \( -name "COPYING*" -o -name "LICENSE*" -o -name "COPYRIGHT*" \) ); do dstdir="${licfile%/*}" dstdir="${CT_PREFIX_DIR}/share/licenses${dstdir#${CT_SRC_DIR}}" mkdir -p "${dstdir}"