hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From te...@apache.org
Subject svn commit: r1593817 - /hbase/trunk/dev-support/test-patch.sh
Date Sun, 11 May 2014 17:05:04 GMT
Author: tedyu
Date: Sun May 11 17:05:04 2014
New Revision: 1593817

URL: http://svn.apache.org/r1593817
Log:
HBASE-11152 Disable tput in test-patch.sh (Gustavo)


Modified:
    hbase/trunk/dev-support/test-patch.sh

Modified: hbase/trunk/dev-support/test-patch.sh
URL: http://svn.apache.org/viewvc/hbase/trunk/dev-support/test-patch.sh?rev=1593817&r1=1593816&r2=1593817&view=diff
==============================================================================
--- hbase/trunk/dev-support/test-patch.sh (original)
+++ hbase/trunk/dev-support/test-patch.sh Sun May 11 17:05:04 2014
@@ -43,9 +43,6 @@ FINDBUGS_HOME=${FINDBUGS_HOME}
 FORREST_HOME=${FORREST_HOME}
 ECLIPSE_HOME=${ECLIPSE_HOME}
 
-RED=$(tput setaf 1)
-RESET_COLOR=$(tput sgr0)
-
 ###############################################################################
 printUsage() {
   echo "Usage: $0 [options] patch-file | defect-number"
@@ -337,11 +334,10 @@ checkCompilationErrors() {
   eval $(awk '/ERROR/ {print "COMPILATION_ERROR=true"}' $file)
   if $COMPILATION_ERROR ; then
     ERRORS=$($AWK '/ERROR/ { print $0 }' $file)
-    echo -e "${RED}======================================================================"
-    echo -e "${RED} There are compilation errors."
-    echo -e "${RED}======================================================================"
-    echo -e "${RED}$ERRORS"
-    echo -e "${RESET_COLOR}"
+    echo "======================================================================"
+    echo "There are compilation errors."
+    echo "======================================================================"
+    echo "$ERRORS"
     JIRA_COMMENT="$JIRA_COMMENT
 
     {color:red}-1 javac{color}.  The patch appears to cause mvn compile goal to fail.



Mime
View raw message