Make license collection optional, on by default

Signed-off-by: Alexey Neyman <stilor@att.net>
This commit is contained in:
Alexey Neyman
2018-11-07 12:23:05 -08:00
parent 4270b8e62e
commit 8fe21d70a2
2 changed files with 12 additions and 1 deletions

View File

@ -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
}