mirror of https://github.com/apache/maven.git
o do the project.xml check after the processing of arguments. user might
just want the version or usage. git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162529 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3d4fde1009
commit
505a51e02c
|
@ -1,9 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
[ -z $MBOOT_HOME ] && echo && echo "You must set MBOOT_HOME to use mboot!" && echo && exit
|
||||
|
||||
. ${MBOOT_HOME}/maven.functions
|
||||
|
||||
VERSION=1.0
|
||||
|
||||
dir="."
|
||||
|
@ -43,6 +39,10 @@ while [ $# -gt 0 ]; do
|
|||
shift
|
||||
done
|
||||
|
||||
[ -z $MBOOT_HOME ] && echo && echo "You must set MBOOT_HOME to use mboot!" && echo && exit
|
||||
|
||||
. ${MBOOT_HOME}/maven.functions
|
||||
|
||||
[ ! -d $dir ] && echo "Specified directory doesn't exist!" && exit
|
||||
|
||||
[ ! -f $dir/project.xml ] && echo "No project.xml in specified directory!" && exit
|
||||
|
|
Loading…
Reference in New Issue