fix shell error

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@358199 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-12-21 03:53:20 +00:00
parent f4fc13c1b0
commit c051fc6c85
1 changed files with 9 additions and 2 deletions

11
ci.sh
View File

@ -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