From 292f5650c8431a70b29a509106d9fffe4150247d Mon Sep 17 00:00:00 2001 From: Yifei Feng Date: Wed, 18 Mar 2020 20:12:10 -0700 Subject: [PATCH] Add more details to how to fix license check failure in sanity build. PiperOrigin-RevId: 301725066 Change-Id: Ie45918d16efee9298e5e2061fe3b7275b419e417 --- tensorflow/tools/ci_build/ci_sanity.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tensorflow/tools/ci_build/ci_sanity.sh b/tensorflow/tools/ci_build/ci_sanity.sh index aff42505215..4f7ce00eb53 100755 --- a/tensorflow/tools/ci_build/ci_sanity.sh +++ b/tensorflow/tools/ci_build/ci_sanity.sh @@ -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}