o M2_HOME has to be set.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@208783 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Trygve Laugstol 2005-07-01 19:26:56 +00:00
parent 55518cbd57
commit 66b1bd1a36
1 changed files with 5 additions and 2 deletions

View File

@ -18,10 +18,13 @@ if $cygwin ; then
[ -n "$M2_HOME" ] && M2_HOME=`cygpath -w "$M2_HOME"` [ -n "$M2_HOME" ] && M2_HOME=`cygpath -w "$M2_HOME"`
fi fi
if [ ! -z "$M2_HOME" ]; then if [ -z "$M2_HOME" ]; then
HOME_ARGS="-Dmaven.home=$M2_HOME" echo "M2_HOME must be set."
exit 1
fi fi
HOME_ARGS="-Dmaven.home=$M2_HOME"
# Build and install mboot # Build and install mboot
( (
echo "-----------------------------------------------------------------------" echo "-----------------------------------------------------------------------"