jvanzyl     2004/06/03 11:30:23

  Modified:    maven-core m2-bootstrap.sh
  Log:
  o check to make sure mboot is in the path
  
  Revision  Changes    Path
  1.3       +6 -0      maven-components/maven-core/m2-bootstrap.sh
  
  Index: m2-bootstrap.sh
  ===================================================================
  RCS file: /home/cvs/maven-components/maven-core/m2-bootstrap.sh,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- m2-bootstrap.sh   3 Jun 2004 18:21:05 -0000       1.2
  +++ m2-bootstrap.sh   3 Jun 2004 18:30:23 -0000       1.3
  @@ -1,6 +1,12 @@
   #!/bin/sh
   
  +# Check to make sure  MBOOT_HOME is set
   [ -z $MBOOT_HOME ] && echo && echo 'You must set $MBOOT_HOME to use mboot!' && echo 
&& exit
  +
  +# Check to make sure mboot is in the path
  +which mboot > /dev/null 2>&1
  +
  +[ $? = "1" ] && echo && echo "You must mboot in your PATH!" && echo && exit
   
   rm -rf target
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to