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/2c6e26f8
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/2c6e26f8
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/2c6e26f8

Branch: refs/heads/branch-1.2
Commit: 2c6e26f8772e865bda1051234698c6ae8ac27821
Parents: 6d03d25
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:22 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/2c6e26f8/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