=================================================================== RCS file: /cvs/openbsd/update_openbsd/update_openbsd,v retrieving revision 1.55 retrieving revision 1.56 diff -u -r1.55 -r1.56 --- openbsd/update_openbsd/update_openbsd 2013/12/28 02:56:24 1.55 +++ openbsd/update_openbsd/update_openbsd 2013/12/28 02:58:37 1.56 @@ -1,5 +1,5 @@ #!/bin/sh -# $AFresh1: update_openbsd,v 1.54 2013/12/28 02:55:28 andrew Exp $ +# $AFresh1: update_openbsd,v 1.55 2013/12/28 02:56:24 andrew Exp $ # # Copyright (c) 2012 Andrew Fresh # @@ -234,10 +234,12 @@ done local _type + local _ftp for _type in $CHECKSUM_TYPES; do [ -e $_type ] && break - echo "===> $FTP_CMD ${FTP}/$_type" - $FTP_CMD ${FTP}/$_type + _ftp=`echo "$FTP" | sed -e 's,://[^/]*/,://ftp.openbsd.org/,'` + echo "===> $FTP_CMD ${_ftp}/$_type" + $FTP_CMD ${_ftp}/$_type done }