You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by pr...@locus.apache.org on 2000/12/19 15:17:40 UTC

cvs commit: xml-cocoon build.sh

prussell    00/12/19 06:17:40

  Modified:    .        Tag: xml-cocoon2 build.sh
  Log:
  Only chmod the antRun script if it is not already executable.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.10.2.20 +4 -2      xml-cocoon/build.sh
  
  Index: build.sh
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/build.sh,v
  retrieving revision 1.10.2.19
  retrieving revision 1.10.2.20
  diff -u -r1.10.2.19 -r1.10.2.20
  --- build.sh	2000/12/08 17:00:23	1.10.2.19
  +++ build.sh	2000/12/19 14:17:39	1.10.2.20
  @@ -2,7 +2,7 @@
   # -----------------------------------------------------------------------------
   # build.sh - Unix Build Script for Apache Cocoon
   #
  -# $Id: build.sh,v 1.10.2.19 2000/12/08 17:00:23 dims Exp $
  +# $Id: build.sh,v 1.10.2.20 2000/12/19 14:17:39 prussell Exp $
   # -----------------------------------------------------------------------------
   
   # ----- Verify and Set Required Environment Variables -------------------------
  @@ -22,7 +22,9 @@
    
   # ----- Make sure Ant script is executable ------------------------------------
   
  -chmod 0755 $ANT_HOME/bin/antRun
  +if [ ! -x $ANT_HOME/bin/antRun ] ; then
  +	chmod 0755 $ANT_HOME/bin/antRun
  +fi
   
   # ----- Execute The Requested Build -------------------------------------------