summaryrefslogtreecommitdiff
path: root/hack/verify-vendor-licenses.sh
diff options
context:
space:
mode:
authorGsssC <914617455@qq.com>2020-09-17 17:53:32 +0800
committerGsssC <914617455@qq.com>2020-09-17 17:53:32 +0800
commita88f166383aa491c89d2d899dfd9f4bd94dbb608 (patch)
tree5fbeb5c8007dab18ed67e431aca47e9f8b899abc /hack/verify-vendor-licenses.sh
parentMerge pull request #2165 from sids-b/incubation (diff)
downloadkubeedge-a88f166383aa491c89d2d899dfd9f4bd94dbb608.tar.gz
Stop outputing license diff
Diffstat (limited to 'hack/verify-vendor-licenses.sh')
-rwxr-xr-xhack/verify-vendor-licenses.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/hack/verify-vendor-licenses.sh b/hack/verify-vendor-licenses.sh
index b114c31dc..97dba1dc5 100755
--- a/hack/verify-vendor-licenses.sh
+++ b/hack/verify-vendor-licenses.sh
@@ -24,6 +24,7 @@
# KubeEdge Authors:
# - File derived from kubernetes v1.19.0-beta.2
# - Changed KUBE_ROOT value to use absolute path
+# - Stop echo "_out" to avoid long-winded output of license diff
set -o errexit
@@ -61,6 +62,6 @@ LICENSE_ROOT="${_tmpdir}" "${KUBE_ROOT}/hack/update-vendor-licenses.sh"
# Compare licenses
if ! _out="$(diff -Naupr -x OWNERS "${KUBE_ROOT}/LICENSES" "${_tmpdir}/LICENSES")"; then
echo "Your LICENSES tree is out of date. Run hack/update-vendor-licenses.sh and commit the results." >&2
- echo "${_out}" >&2
+ #echo "${_out}" >&2
exit 1
fi