hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From te...@apache.org
Subject svn commit: r1550462 - /hbase/trunk/dev-support/test-patch.sh
Date Thu, 12 Dec 2013 18:13:38 GMT
Author: tedyu
Date: Thu Dec 12 18:13:37 2013
New Revision: 1550462

URL: http://svn.apache.org/r1550462
Log:
HBASE-10044 Revert: Hadoop QA needs to provide access to tested patches


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=1550462&r1=1550461&r2=1550462&view=diff
==============================================================================
--- hbase/trunk/dev-support/test-patch.sh (original)
+++ hbase/trunk/dev-support/test-patch.sh Thu Dec 12 18:13:37 2013
@@ -36,7 +36,6 @@ AWK=${AWK:-awk}
 WGET=${WGET:-wget}
 SVN=${SVN:-svn}
 GREP=${GREP:-grep}
-EGREP=${EGREP:-egrep}
 PATCH=${PATCH:-patch}
 JIRACLI=${JIRA:-jira}
 FINDBUGS_HOME=${FINDBUGS_HOME}
@@ -201,7 +200,7 @@ setup () {
       echo "$defect is not \"Patch Available\".  Exiting."
       cleanupAndExit 0
     fi
-    relativePatchURL=`$GREP -o '"/jira/secure/attachment/[0-9]*/[^"]*' $PATCH_DIR/jira |
$EGREP '(\.txt$|\.patch$|\.diff$)' | sort | tail -1 | $GREP -o '/jira/secure/attachment/[0-9]*/[^"]*'`
+    relativePatchURL=`$GREP -o '"/jira/secure/attachment/[0-9]*/[^"]*' $PATCH_DIR/jira |
$GREP -v -e 'htm[l]*$' | sort | tail -1 | $GREP -o '/jira/secure/attachment/[0-9]*/[^"]*'`
     patchURL="http://issues.apache.org${relativePatchURL}"
     patchNum=`echo $patchURL | $GREP -o '[0-9]*/' | $GREP -o '[0-9]*'`
     echo "$defect patch is being downloaded at `date` from"



Mime
View raw message