You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by jv...@apache.org on 2004/01/03 07:32:24 UTC
cvs commit: maven-components/maven-mboot/src/bash mboot
jvanzyl 2004/01/02 22:32:24
Modified: maven-mboot/src/bash mboot
Log:
o do the project.xml check after the processing of arguments. user might
just want the version or usage.
Revision Changes Path
1.2 +4 -4 maven-components/maven-mboot/src/bash/mboot
Index: mboot
===================================================================
RCS file: /home/cvs/maven-components/maven-mboot/src/bash/mboot,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- mboot 3 Jan 2004 05:33:28 -0000 1.1
+++ mboot 3 Jan 2004 06:32:24 -0000 1.2
@@ -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="."
@@ -42,6 +38,10 @@
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org