mirror of https://github.com/apache/maven.git
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:
parent
f4fc13c1b0
commit
c051fc6c85
11
ci.sh
11
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
|
||||
|
|
Loading…
Reference in New Issue