=================================================================== RCS file: /cvs/openbsd/update_openbsd/update_openbsd,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- openbsd/update_openbsd/update_openbsd 2008/08/12 23:42:09 1.3 +++ openbsd/update_openbsd/update_openbsd 2008/08/12 23:44:19 1.4 @@ -1,10 +1,9 @@ #!/bin/sh -# $RedRiver: update_openbsd,v 1.2 2008/08/12 22:07:05 andrew Exp $ +# $RedRiver: update_openbsd,v 1.3 2008/08/12 22:42:09 andrew Exp $ SYSMERGE=/usr/sbin/sysmerge MIRROR=ftp://ftp.openbsd.org/pub/OpenBSD FTP_CMD='ftp -V' -DESTDIR=/ if [ -e /etc/update_openbsd.conf ]; then . /etc/update_openbsd.conf @@ -289,6 +288,7 @@ fi } +DESTDIR=${DESTDIR:=/} PKG_PATH=${PKG_PATH:=/usr/ports/packages/`machine`/all/:${MIRROR}/`uname -r`/packages/`machine`/} if [ X"" != X"$SYSMERGE" ]; then