Repository: yetus Updated Branches: refs/heads/master 9740b6401 -> c55ae3d27
YETUS-470 FIX: user_plugin directory is not copied over properly In docker mode, test-patch.sh doesn't copy the correct directory over. Signed-off-by: Kengo Seki <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/yetus/repo Commit: http://git-wip-us.apache.org/repos/asf/yetus/commit/c55ae3d2 Tree: http://git-wip-us.apache.org/repos/asf/yetus/tree/c55ae3d2 Diff: http://git-wip-us.apache.org/repos/asf/yetus/diff/c55ae3d2 Branch: refs/heads/master Commit: c55ae3d276c02532642a32496b18b3714db321cf Parents: 9740b64 Author: sacharya <[email protected]> Authored: Sat Nov 19 16:50:39 2016 -0600 Committer: Kengo Seki <[email protected]> Committed: Fri Nov 25 02:27:31 2016 +0900 ---------------------------------------------------------------------- precommit/test-patch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/yetus/blob/c55ae3d2/precommit/test-patch.sh ---------------------------------------------------------------------- diff --git a/precommit/test-patch.sh b/precommit/test-patch.sh index d7dd3d7..25294a4 100755 --- a/precommit/test-patch.sh +++ b/precommit/test-patch.sh @@ -1533,7 +1533,7 @@ function copytpbits if [[ -n "${USER_PLUGIN_DIR}" && -d "${USER_PLUGIN_DIR}" ]]; then yetus_debug "copying '${USER_PLUGIN_DIR}' over to ${PATCH_DIR}/precommit/user-plugins" - cp -pr "${USER_PLUGIN_DIR}/*" \ + cp -pr "${USER_PLUGIN_DIR}"/. \ "${PATCH_DIR}/precommit/user-plugins" fi # Set to be relative to ${PATCH_DIR}/precommit
