From c051fc6c858b9615ea3c083384416428fd333309 Mon Sep 17 00:00:00 2001 From: Brett Leslie Porter Date: Wed, 21 Dec 2005 03:53:20 +0000 Subject: [PATCH] fix shell error git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@358199 13f79535-47bb-0310-9956-ffa450edef68 --- ci.sh | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/ci.sh b/ci.sh index fbad46f09b..02299e1c67 100755 --- a/ci.sh +++ b/ci.sh @@ -7,11 +7,18 @@ cd $HOME CMD=$1 -[ "$1" = "" ] && echo && echo "You must specify a checkout or update!" && echo && exit 1 +if [ "$1" = "" ]; then + echo + echo "You must specify a checkout or update!" + echo + exit 1 +fi BRANCH="branches/${2}" -[ "$2" = "" ] BRANCH="trunk" +if [ "$2" = "" ]; then + BRANCH="trunk" +fi FROM=continuum@maven.zones.apache.org TO=dev@maven.apache.org