This is an automated email from the ASF dual-hosted git repository.

zhangduo pushed a commit to branch HBASE-28694
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/HBASE-28694 by this push:
     new cdba49f1d93 debug
cdba49f1d93 is described below

commit cdba49f1d93bf7e735f03ac80120ff0f467ee28b
Author: Duo Zhang <[email protected]>
AuthorDate: Fri Jun 28 12:16:21 2024 +0800

    debug
---
 dev-support/hbase_nightly_source-artifact.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dev-support/hbase_nightly_source-artifact.sh 
b/dev-support/hbase_nightly_source-artifact.sh
index a436313666e..b8fa540fa22 100755
--- a/dev-support/hbase_nightly_source-artifact.sh
+++ b/dev-support/hbase_nightly_source-artifact.sh
@@ -222,7 +222,9 @@ if [ $? -ne 0 ]; then
   exit 1
 fi
 
-${MVN} help:active-profiles | grep hadoop-3.0
+${MVN} help:active-profiles
+
+${MVN} help:active-profiles | grep -q hadoop-3.0
 if [ $? -ne 0 ]; then
   echo "The hadoop-3.0 profile is not activated by default, build a hadoop3 
tarball."
   # move the previous tarballs out, so it will not be cleaned while building 
against hadoop3

Reply via email to