Route verify-godep-licenses output to stderr

pull/6/head
Christoph Blecker 2018-02-07 21:45:02 -08:00
parent a34b1cfcfa
commit 757feee04f
No known key found for this signature in database
GPG Key ID: B34A59A9D39F838B
1 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ LICENSE_ROOT="${_tmpdir}" "${KUBE_ROOT}/hack/update-godep-licenses.sh"
# Compare Godep Licenses
if ! _out="$(diff -Naupr ${KUBE_ROOT}/Godeps/LICENSES ${_tmpdir}/Godeps/LICENSES)"; then
echo "Your godep licenses file is out of date. Run hack/update-godep-licenses.sh and commit the results."
echo "${_out}"
echo "Your godep licenses file is out of date. Run hack/update-godep-licenses.sh and commit the results." >&2
echo "${_out}" >&2
exit 1
fi