forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From je...@apache.org
Subject cvs commit: xml-forrest/etc/cocoon_upgrade upgrade_cocoon_jars.sh
Date Sat, 24 May 2003 07:20:49 GMT
jefft       2003/05/24 00:20:49

  Modified:    etc/cocoon_upgrade upgrade_cocoon_jars.sh
  Log:
  Re-add CVS support
  
  Revision  Changes    Path
  1.10      +8 -0      xml-forrest/etc/cocoon_upgrade/upgrade_cocoon_jars.sh
  
  Index: upgrade_cocoon_jars.sh
  ===================================================================
  RCS file: /home/cvs/xml-forrest/etc/cocoon_upgrade/upgrade_cocoon_jars.sh,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- upgrade_cocoon_jars.sh	24 May 2003 06:56:33 -0000	1.9
  +++ upgrade_cocoon_jars.sh	24 May 2003 07:20:49 -0000	1.10
  @@ -229,3 +229,11 @@
   copy excalibur-event
   copy util.concurrent
   
  +if [ "$UPGRADE_TYPE" = "real" ]; then
  +  UPDATEFILE=/tmp/forrest-updates
  +  cvs -n up > $UPDATEFILE
  +  # Add new jars
  +  cat $UPDATEFILE | grep ^\? | cut -d\  -f 2 | xargs cvs add -kb
  +  # Remove old jars
  +  cat $UPDATEFILE | grep ^U | cut -d\  -f 2 | xargs cvs remove -f
  +fi
  
  
  

Mime
View raw message