copy directory not contents of directory

This commit is contained in:
Mike Danese 2015-10-15 13:43:20 -07:00
parent 407f9b9e42
commit d379a360c6

View File

@ -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