cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giac...@apache.org
Subject cvs commit: cocoon-2.1/tools/bin create-repository-jars.sh
Date Mon, 02 Feb 2004 20:12:36 GMT
giacomo     2004/02/02 12:12:36

  Modified:    tools/bin create-repository-jars.sh
  Log:
  every machine has its own md5 command :-(
  
  Revision  Changes    Path
  1.6       +9 -4      cocoon-2.1/tools/bin/create-repository-jars.sh
  
  Index: create-repository-jars.sh
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/tools/bin/create-repository-jars.sh,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -d -b -u -r1.5 -r1.6
  --- create-repository-jars.sh	2 Feb 2004 20:03:24 -0000	1.5
  +++ create-repository-jars.sh	2 Feb 2004 20:12:36 -0000	1.6
  @@ -1,4 +1,4 @@
  -#!/bin/sh -x
  +#!/bin/sh
   
   # $Id$
   
  @@ -47,6 +47,11 @@
     REMOTEPATH=/www/www.apache.org/dist/java-repository/cocoon
   fi
   
  +# Where is the md5sum command to be used
  +if [ "$MD5CMD" = "" ]; then
  +  MD5CMD=/sbin/md5
  +fi
  +
   # ------- NO NEED TO CHANGE ANYTHING BELOW HERE ----------
   
   if [ "$JAVA_HOME" = "" ]; then
  @@ -196,7 +201,7 @@
       CMD=""
     fi
     ssh $REMOTEHOST "$CMD; \
  -                   md5sum $REMOTEPATH/jars/cocoon$BLOCKPART-$TVERSION.jar | \
  +                   $MD5SUM $REMOTEPATH/jars/cocoon$BLOCKPART-$TVERSION.jar | \
                        sed 's/ .*$//' >$REMOTEPATH/jars/cocoon$BLOCKPART-$TVERSION.jar.md5;
\
                      chmod g+w $REMOTEPATH/jars/cocoon$BLOCKPART-$TVERSION.*"
   done
  @@ -221,7 +226,7 @@
     CMD=""
   fi
   ssh $REMOTEHOST "$CMD; \
  -                 md5sum $REMOTEPATH/wars/cocoon-war-$TVERSION.jar | \
  +                 $MD5SUM $REMOTEPATH/wars/cocoon-war-$TVERSION.jar | \
                      sed 's/ .*$//' >$REMOTEPATH/jars/cocoon-war-$TVERSION.jar.md5; \
                    chmod g+w $REMOTEPATH/jars/cocoon-war-$TVERSION.*"
   
  
  
  

Mime
View raw message