dlr         02/02/27 08:31:43

  Modified:    .        build-bootstrap-jars.sh
  Log:
  Provide a default for LIB_REPO of ~/lib.repo iff that directory
  exists.
  
  Revision  Changes    Path
  1.4       +5 -1      jakarta-turbine-maven/build-bootstrap-jars.sh
  
  Index: build-bootstrap-jars.sh
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-maven/build-bootstrap-jars.sh,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -u -r1.3 -r1.4
  --- build-bootstrap-jars.sh   25 Feb 2002 21:29:03 -0000      1.3
  +++ build-bootstrap-jars.sh   27 Feb 2002 16:31:43 -0000      1.4
  @@ -1,6 +1,10 @@
   #!/bin/sh
   
  -[ -z $LIB_REPO ] && echo 'You must define $LIB_REPO' && exit
  +if [ -z "$LIB_REPO" ] ; then
  +    LIB_REPO_DEFAULT=~/lib.repo
  +    [ ! -d "$LIB_REPO_DEFAULT" ] && echo 'You must define $LIB_REPO' && exit
  +    LIB_REPO="$LIB_REPO_DEFAULT"
  +fi
   
   REPO="http://jakarta.apache.org/turbine/jars";
   
  
  
  

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

Reply via email to