mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-02-21 09:21:52 +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 "Collect license information from: ${CT_SRC_DIR}"
|
||||||
CT_DoLog EXTRA "Put the license information to: ${CT_PREFIX_DIR}/share/licenses"
|
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="${licfile%/*}"
|
||||||
dstdir="${CT_PREFIX_DIR}/share/licenses${dstdir#${CT_SRC_DIR}}"
|
dstdir="${CT_PREFIX_DIR}/share/licenses${dstdir#${CT_SRC_DIR}}"
|
||||||
mkdir -p "${dstdir}"
|
mkdir -p "${dstdir}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user