mirror of https://github.com/apache/maven.git
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:
parent
55518cbd57
commit
66b1bd1a36
|
@ -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 "-----------------------------------------------------------------------"
|
||||||
|
|
Loading…
Reference in New Issue