[BACK]Return to oxfetch.sh CVS log [TXT][DIR] Up to [local] / OpenXM / src / util

Diff for /OpenXM/src/util/oxfetch.sh between version 1.6 and 1.7

version 1.6, 2006/10/12 10:45:37 version 1.7, 2006/10/13 11:51:25
Line 1 
Line 1 
 #!/bin/sh  #!/bin/sh
 # $OpenXM: OpenXM/src/util/oxfetch.sh,v 1.5 2005/07/25 19:04:18 ohara Exp $  # $OpenXM: OpenXM/src/util/oxfetch.sh,v 1.6 2006/10/12 10:45:37 takayama Exp $
   
 MASTER_SITES="ftp://ftp.math.kobe-u.ac.jp/pub/OpenXM/misc/"  MASTER_SITES="ftp://ftp.math.kobe-u.ac.jp/pub/OpenXM/misc/"
 fetch="wget --no-directories --passive-ftp --timestamping"  fetch="wget --no-directories --passive-ftp --timestamping"
Line 33  _md5grep () {
Line 33  _md5grep () {
 }  }
   
 _md5sum () {  _md5sum () {
     if [ "`which md5`" ]; then          md5.sh "$1" | awk '{print $NF}'
         md5 "$1" | awk '{print $NF}'  
     elif [ "`which md5sum`" ]; then  
         md5sum "$1" | awk '{print $1}'  
     fi  
 }  }
   
 _check() {  _check() {
    echo "Check is skipped."  
 }  
   
 _check_orig () {  
     if [ ! -f "$distdir/$distfile" ]; then      if [ ! -f "$distdir/$distfile" ]; then
         echo "Error: ${distfile} not found."          echo "Error: ${distfile} not found."
         exit 1          exit 1

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>