summaryrefslogtreecommitdiff
path: root/scripts/build/internals.sh
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2018-11-07 20:23:05 (GMT)
committerAlexey Neyman <stilor@att.net>2018-11-07 20:59:29 (GMT)
commit8fe21d70a249e2c6312bf3e4ea13e770ae18a89c (patch)
tree092f2ce4f788fb752c108c0533717d53f856fdd1 /scripts/build/internals.sh
parent4270b8e62e7f47bee214ddf1bc526df283f8b5aa (diff)
Make license collection optional, on by default
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'scripts/build/internals.sh')
-rw-r--r--scripts/build/internals.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/build/internals.sh b/scripts/build/internals.sh
index f7107b4..3cd5eeb 100644
--- a/scripts/build/internals.sh
+++ b/scripts/build/internals.sh
@@ -144,7 +144,9 @@ do_finish() {
CT_DoForceRmdir "${CT_DEBUGROOT_DIR}/"{,usr/}{,share/}{man,info}
fi
- CT_InstallCopyingInformation
+ if [ "${CT_INSTALL_LICENSES}" = y ]; then
+ CT_InstallCopyingInformation
+ fi
CT_EndStep
}