From 144f1bb5fc3affada1cefdf87ad0ddada68b7426 Mon Sep 17 00:00:00 2001 From: Zhihong Yu Date: Thu, 12 Dec 2013 18:13:37 +0000 Subject: [PATCH] HBASE-10044 Revert: Hadoop QA needs to provide access to tested patches git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1550462 13f79535-47bb-0310-9956-ffa450edef68 --- dev-support/test-patch.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dev-support/test-patch.sh b/dev-support/test-patch.sh index 6b33f2a15bd..b31542b8894 100755 --- a/dev-support/test-patch.sh +++ b/dev-support/test-patch.sh @@ -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"