HBASE-19038 precommit mvn install should run from root on patch

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

Branch: refs/heads/branch-1
Commit: 95e926100d796080935f8871c90d02542a6964dd
Parents: 2dce7c1
Author: Mike Drob <md...@apache.org>
Authored: Wed Oct 18 10:20:03 2017 -0500
Committer: Mike Drob <md...@apache.org>
Committed: Wed Oct 18 10:40:00 2017 -0500

----------------------------------------------------------------------
 dev-support/hbase-personality.sh | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/95e92610/dev-support/hbase-personality.sh
----------------------------------------------------------------------
diff --git a/dev-support/hbase-personality.sh b/dev-support/hbase-personality.sh
index 43371f8..9b23e11 100755
--- a/dev-support/hbase-personality.sh
+++ b/dev-support/hbase-personality.sh
@@ -84,9 +84,7 @@ function personality_modules
 
   extra="-DHBasePatchProcess"
 
-  if [[ ${repostatus} == branch
-     && ${testtype} == mvninstall ]] ||
-     [[ "${BUILDMODE}" == full ]];then
+  if [[ ${testtype} == mvninstall ]] || [[ "${BUILDMODE}" == full ]]; then
     personality_enqueue_module . ${extra}
     return
   fi

Reply via email to