mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-02-16 09:18:06 -05:00
copy directory not contents of directory
This commit is contained in:
parent
407f9b9e42
commit
d379a360c6
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ cp -a "${DIFFROOT}" "${TMP_DIFFROOT}"
|
|||
echo "diffing ${DIFFROOT} against freshly generated swagger type documentation"
|
||||
ret=0
|
||||
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}"
|
||||
if [[ $ret -eq 0 ]]
|
||||
then
|
||||
|
|
|
|||
Loading…
Reference in a new issue