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 05:58:40 GMT
jefft       2003/05/23 22:58:40

  Modified:    etc/cocoon_upgrade upgrade_cocoon_jars.sh
  Log:
  CVS add block jars too
  
  Revision  Changes    Path
  1.8       +23 -5     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.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- upgrade_cocoon_jars.sh	24 May 2003 05:46:37 -0000	1.7
  +++ upgrade_cocoon_jars.sh	24 May 2003 05:58:40 -0000	1.8
  @@ -69,13 +69,15 @@
       rm $1*
       ;;
       "real")
  -    cvsdo remove -f $1*
  +    echo "CVS removing `echo $1*`"
  +    [ ! -z "`echo $1*`" ] && cvsdo remove -f $1*
       ;;
     esac
   
     cp $CLIB/$1* .
   
     if [ "$UPGRADE_TYPE" = "real" ]; then
  +    echo "CVS adding `echo $1*`"
       cvs add -kb $1* &
     fi
     popd
  @@ -83,8 +85,26 @@
   
   function bzcopy()
   {
  -  rm $FLIB/cocoon-$1-block-*.jar
  -  cp $CBLOCKS/$1-block.jar $FLIB/cocoon-$1-block-$JARSUFFIX.jar
  +  pushd . 
  +  cd $FLIB
  +  case $UPGRADE_TYPE in
  +    "testing")
  +    rm cocoon-$1-block-*.jar
  +    ;;
  +    "real")
  +    echo "CVS removing $1*"
  +    cvsdo remove -f cocoon-$1-block-*.jar
  +    ;;
  +  esac
  +
  +  cp $CBLOCKS/$1-block.jar cocoon-$1-block-$JARSUFFIX.jar
  +
  +  if [ "$UPGRADE_TYPE" = "real" ]; then
  +    echo "CVS adding `echo cocoon-$1-block-*.jar`"
  +    cvs add -kb cocoon-$1-block-*.jar &
  +  fi
  +
  +  popd
   }
   
   function bcopy()
  @@ -144,13 +164,11 @@
   echo "  $FLIB"
   echo "  $FLIB_ENDORSED"
   
  -set -vx
   
   sanity_check
   
   upgrade_neko
   upgrade_endorsed
  -exit
   
   #set -vx
   #avalon-framework-4.1.3.jar
  
  
  

Mime
View raw message