You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by te...@apache.org on 2013/08/01 23:35:39 UTC

svn commit: r1509435 - /hbase/trunk/dev-support/test-patch.sh

Author: tedyu
Date: Thu Aug  1 21:35:38 2013
New Revision: 1509435

URL: http://svn.apache.org/r1509435
Log:
HBASE-9103 Addendum adds the missing back quote


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=1509435&r1=1509434&r2=1509435&view=diff
==============================================================================
--- hbase/trunk/dev-support/test-patch.sh (original)
+++ hbase/trunk/dev-support/test-patch.sh Thu Aug  1 21:35:38 2013
@@ -632,7 +632,7 @@ checkLineLengths () {
   #see http://en.wikipedia.org/wiki/Diff#Unified_format
 
   MAX_LINE_LENGTH_PATCH=`expr $MAX_LINE_LENGTH + 1`
-  lines=`cat $PATCH_DIR/patch | grep "^+" | grep -v "^@@" | grep -v "^+++" | grep -v "import" | awk -v len="$MAX_LINE_LENGTH_PATCH" 'length ($0) > len'
+  lines=`cat $PATCH_DIR/patch | grep "^+" | grep -v "^@@" | grep -v "^+++" | grep -v "import" | awk -v len="$MAX_LINE_LENGTH_PATCH" 'length ($0) > len'`
   ll=`echo "$lines" | wc -l`
   if [[ "$ll" -gt "$MAX_LINE_LENGTH_PATCH" ]]; then
     JIRA_COMMENT="$JIRA_COMMENT