yetus-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ajayyad...@apache.org
Subject [2/3] yetus git commit: YETUS-470 FIX: user_plugin directory is not copied over properly
Date Mon, 05 Dec 2016 17:35:54 GMT
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 <sekikn@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/yetus/repo
Commit: http://git-wip-us.apache.org/repos/asf/yetus/commit/d7e95438
Tree: http://git-wip-us.apache.org/repos/asf/yetus/tree/d7e95438
Diff: http://git-wip-us.apache.org/repos/asf/yetus/diff/d7e95438

Branch: refs/heads/YETUS-468
Commit: d7e954385ab076f731e6c61ec618e8db10710082
Parents: e9c0081
Author: sacharya <sacharya@cloudera.com>
Authored: Sat Nov 19 16:50:39 2016 -0600
Committer: Ajay Yadava <ajayyadava@apache.org>
Committed: Mon Dec 5 12:33:48 2016 -0500

----------------------------------------------------------------------
 precommit/test-patch.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/yetus/blob/d7e95438/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


Mime
View raw message