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

Branch: refs/heads/branch-1.3
Commit: 0706fb3cf017fa303db94a0706737ef3aefa12e1
Parents: 90249f1
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:15 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/0706fb3c/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