Skip to content

Commit a8f7063

Browse files
author
Konstantin I Boudnik
committed
HADOOP-7072. Fixing incorrect count of parameters.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1054853 13f79535-47bb-0310-9956-ffa450edef68
1 parent 60f0c4d commit a8f7063

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/test/bin/test-patch.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ parseArgs() {
2626
HUDSON)
2727
### Set HUDSON to true to indicate that this script is being run by Hudson
2828
HUDSON=true
29-
if [[ $# != 18 ]] ; then
29+
if [[ $# != 17 ]] ; then
3030
echo "ERROR: usage $0 HUDSON <PATCH_DIR> <SUPPORT_DIR> <PS_CMD> <WGET_CMD> <JIRACLI> <SVN_CMD> <GREP_CMD> <PATCH_CMD> <FINDBUGS_HOME> <FORREST_HOME> <ECLIPSE_HOME> <PYTHON_HOME> <WORKSPACE_BASEDIR> <JIRA_PASSWD> <CURL_CMD> <DEFECT> "
3131
cleanupAndExit 0
3232
fi
@@ -44,8 +44,8 @@ parseArgs() {
4444
PYTHON_HOME=${13}
4545
BASEDIR=${14}
4646
JIRA_PASSWD=${15}
47-
CURL=${17}
48-
defect=${18}
47+
CURL=${16}
48+
defect=${17}
4949

5050
### Retrieve the defect number
5151
if [ -z "$defect" ] ; then
@@ -63,7 +63,7 @@ parseArgs() {
6363
DEVELOPER)
6464
### Set HUDSON to false to indicate that this script is being run by a developer
6565
HUDSON=false
66-
if [[ $# != 10 ]] ; then
66+
if [[ $# != 9 ]] ; then
6767
echo "ERROR: usage $0 DEVELOPER <PATCH_FILE> <SCRATCH_DIR> <SVN_CMD> <GREP_CMD> <PATCH_CMD> <FINDBUGS_HOME> <FORREST_HOME> <WORKSPACE_BASEDIR>"
6868
cleanupAndExit 0
6969
fi

0 commit comments

Comments
 (0)