mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-02-20 09:06:19 +00:00
scripts/functions: collect license files named COPYRIGHT*
Signed-off-by: Dima Krasner <dima@dimakrasner.com>
This commit is contained in:
parent
7e21141973
commit
b6887d346f
@ -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}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user