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

Branch: refs/heads/HBASE-18410
Commit: c16eb7881fa530a2dd626c1e06e294c2d198af22
Parents: e320df5
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:41:17 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/c16eb788/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