From 93f2dfcdb4b45f1eb2e16c92761d83f6bbe3b55d Mon Sep 17 00:00:00 2001 From: Konstantin Boudnik Date: Tue, 4 Jan 2011 01:34:32 +0000 Subject: [PATCH] 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 --- src/test/bin/test-patch.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/test/bin/test-patch.sh b/src/test/bin/test-patch.sh index e602774bcea..ebe51c873e1 100755 --- a/src/test/bin/test-patch.sh +++ b/src/test/bin/test-patch.sh @@ -26,7 +26,7 @@ parseArgs() { HUDSON) ### Set HUDSON to true to indicate that this script is being run by Hudson HUDSON=true - if [[ $# != 18 ]] ; then + if [[ $# != 17 ]] ; then echo "ERROR: usage $0 HUDSON " cleanupAndExit 0 fi @@ -44,8 +44,8 @@ parseArgs() { PYTHON_HOME=${13} BASEDIR=${14} JIRA_PASSWD=${15} - CURL=${17} - defect=${18} + CURL=${16} + defect=${17} ### Retrieve the defect number if [ -z "$defect" ] ; then @@ -63,7 +63,7 @@ parseArgs() { DEVELOPER) ### Set HUDSON to false to indicate that this script is being run by a developer HUDSON=false - if [[ $# != 10 ]] ; then + if [[ $# != 9 ]] ; then echo "ERROR: usage $0 DEVELOPER " cleanupAndExit 0 fi