mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-30 15:02:23 +00:00
use kube::util::md5 for update-vendor-licenses.sh
This commit is contained in:
parent
7b0ea99a3e
commit
c8a6a720c3
@ -162,7 +162,7 @@ echo "= Kubernetes licensed under: ="
|
|||||||
echo
|
echo
|
||||||
cat "${LICENSE_ROOT}/LICENSE"
|
cat "${LICENSE_ROOT}/LICENSE"
|
||||||
echo
|
echo
|
||||||
echo "= LICENSE $(md5sum < "${LICENSE_ROOT}/LICENSE" | awk '{print $1}')"
|
echo "= LICENSE $(kube::util::md5 "${LICENSE_ROOT}/LICENSE")"
|
||||||
echo "================================================================================"
|
echo "================================================================================"
|
||||||
) > ${TMP_LICENSE_FILE}
|
) > ${TMP_LICENSE_FILE}
|
||||||
|
|
||||||
@ -211,7 +211,7 @@ __EOF__
|
|||||||
cat "${file}"
|
cat "${file}"
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "= ${file} $(md5sum < "${file}" | awk '{print $1}')"
|
echo "= ${file} $(kube::util::md5 "${file}")"
|
||||||
echo "================================================================================"
|
echo "================================================================================"
|
||||||
echo
|
echo
|
||||||
done >> ${TMP_LICENSE_FILE}
|
done >> ${TMP_LICENSE_FILE}
|
||||||
|
Loading…
Reference in New Issue
Block a user