=================================================================== RCS file: /cvs/openbsd/update_openbsd/update_openbsd,v retrieving revision 1.124 retrieving revision 1.125 diff -u -r1.124 -r1.125 --- openbsd/update_openbsd/update_openbsd 2019/03/31 22:10:01 1.124 +++ openbsd/update_openbsd/update_openbsd 2019/04/23 23:38:48 1.125 @@ -1,5 +1,5 @@ #!/bin/sh -# $AFresh1: update_openbsd,v 1.123 2019/03/02 01:05:59 andrew Exp $ +# $AFresh1: update_openbsd,v 1.124 2019/03/31 21:10:01 andrew Exp $ # # Copyright (c) 2012 Andrew Fresh # @@ -650,7 +650,7 @@ fi if [ -z "$MIRROR" -a -e /etc/installurl ]; then - MIRROR=$(< /etc/installurl) + MIRROR=$(head -1 /etc/installurl) fi MIRROR=${MIRROR:=http://cdn.openbsd.org/pub/OpenBSD} FTP_CMD=${FTP_CMD:=ftp -V}