HBASE-9103 Addendum adds the missing back quote
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1509435 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0b0c291410
commit
a2e1f4fa3c
|
@ -632,7 +632,7 @@ checkLineLengths () {
|
||||||
#see http://en.wikipedia.org/wiki/Diff#Unified_format
|
#see http://en.wikipedia.org/wiki/Diff#Unified_format
|
||||||
|
|
||||||
MAX_LINE_LENGTH_PATCH=`expr $MAX_LINE_LENGTH + 1`
|
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`
|
ll=`echo "$lines" | wc -l`
|
||||||
if [[ "$ll" -gt "$MAX_LINE_LENGTH_PATCH" ]]; then
|
if [[ "$ll" -gt "$MAX_LINE_LENGTH_PATCH" ]]; then
|
||||||
JIRA_COMMENT="$JIRA_COMMENT
|
JIRA_COMMENT="$JIRA_COMMENT
|
||||||
|
|
Loading…
Reference in New Issue