httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wsanc...@apache.org
Subject cvs commit: httpd-2.0/build binbuild.sh
Date Mon, 25 Nov 2002 04:36:16 GMT
wsanchez    2002/11/24 20:36:16

  Modified:    build    binbuild.sh
  Log:
  Generate MD5 digest.
  
  Revision  Changes    Path
  1.46      +12 -0     httpd-2.0/build/binbuild.sh
  
  Index: binbuild.sh
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/build/binbuild.sh,v
  retrieving revision 1.45
  retrieving revision 1.46
  diff -u -r1.45 -r1.46
  --- binbuild.sh	25 Nov 2002 04:32:31 -0000	1.45
  +++ binbuild.sh	25 Nov 2002 04:36:16 -0000	1.46
  @@ -17,6 +17,13 @@
   TAR="`srclib/apr/build/PrintPath tar`"
   GZIP="`srclib/apr/build/PrintPath gzip`"
   COMPRESS="`srclib/apr/build/PrintPath compress`"
  +MD5="`srclib/apr/build/PrintPath md5`"
  +if [ x$MD5 = x ]; then
  +  OPENSSL="`srclib/apr/build/PrintPath openssl`"
  +  if [ x$OPENSSL != x ]; then
  +    MD5="$OPENSSL md5"
  +  fi
  +fi
   
   if [ x$1 != x ]; then
     USER=$1
  @@ -168,6 +175,10 @@
       echo "         gzip -9 ../httpd-$VER-$OS.tar"
     fi
   
  +  if [ "x$MD5" != "x" ]; then
  +    $MD5 $ARCHIVE > $ARCHIVE.md5
  +  fi
  +
     if [ -f $ARCHIVE ] && [ -f ../httpd-$VER-$OS.README ]; then
       echo "Ready."
       echo "You can find the binary archive ($ARCHIVE)"
  @@ -175,6 +186,7 @@
       echo "parent directory."
       exit 0;
     else
  +    echo "ERROR: Archive or README is missing."
       exit 1;
     fi
   fi
  
  
  

Mime
View raw message