Add more details to how to fix license check failure in sanity build.

PiperOrigin-RevId: 301725066
Change-Id: Ie45918d16efee9298e5e2061fe3b7275b419e417
This commit is contained in:
Yifei Feng 2020-03-18 20:12:10 -07:00 committed by TensorFlower Gardener
parent 6c7e338ae7
commit 292f5650c8

View File

@ -397,9 +397,10 @@ do_external_licenses_check(){
if [[ -s ${MISSING_LICENSES_FILE} ]] ; then
echo "Missing the licenses for the following external dependencies:"
cat ${MISSING_LICENSES_FILE}
echo "Please add the license(s) to ${LICENSES_TARGET}."
fi
if [[ -s ${EXTRA_LICENSES_FILE} ]] ; then
echo "Please remove the licenses for the following external dependencies:"
echo "Please remove the licenses for the following external dependencies from target ${LICENSES_TARGET}."
cat ${EXTRA_LICENSES_FILE}
fi
rm -rf ${EXTERNAL_DEPENDENCIES_FILE}