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

Branch: refs/heads/branch-1.1
Commit: df4505e7e34f595ab8eef4ba3f546df7693f826f
Parents: 9eeb842
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:31 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/df4505e7/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