mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 15:05:27 +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"
|
||||
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 New Issue
Block a user