mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 15:25:57 +00:00
copy directory not contents of directory
This commit is contained in:
parent
407f9b9e42
commit
d379a360c6
@ -47,7 +47,7 @@ cp -a "${DIFFROOT}" "${TMP_DIFFROOT}"
|
|||||||
echo "diffing ${DIFFROOT} against freshly generated swagger type documentation"
|
echo "diffing ${DIFFROOT} against freshly generated swagger type documentation"
|
||||||
ret=0
|
ret=0
|
||||||
diff -Naupr -I 'Auto generated by' "${DIFFROOT}" "${TMP_DIFFROOT}" || ret=$?
|
diff -Naupr -I 'Auto generated by' "${DIFFROOT}" "${TMP_DIFFROOT}" || ret=$?
|
||||||
cp -a "${TMP_DIFFROOT}/" "${KUBE_ROOT}/"
|
cp -a "${TMP_DIFFROOT}" "${KUBE_ROOT}/"
|
||||||
rm -rf "${_tmp}"
|
rm -rf "${_tmp}"
|
||||||
if [[ $ret -eq 0 ]]
|
if [[ $ret -eq 0 ]]
|
||||||
then
|
then
|
||||||
|
Loading…
Reference in New Issue
Block a user