summaryrefslogtreecommitdiff
path: root/distrib/miniroot/install.sub
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-10-02 18:53:25 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-10-02 18:53:25 +0000
commite3f7e0e6e57c578f697a7dc88b412b9ddb5d0f8c (patch)
tree640f40c21c1318e08620af54ce06c716bfb09902 /distrib/miniroot/install.sub
parentdf60ccbc0cd48910b9bd784c1953ee34847ccc9b (diff)
fix local disk package install
Diffstat (limited to 'distrib/miniroot/install.sub')
-rw-r--r--distrib/miniroot/install.sub4
1 files changed, 2 insertions, 2 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub
index 53d302ffcb1..44a816e7e42 100644
--- a/distrib/miniroot/install.sub
+++ b/distrib/miniroot/install.sub
@@ -1,5 +1,5 @@
#!/bin/sh
-# $OpenBSD: install.sub,v 1.133 1999/10/02 13:32:43 aaron Exp $
+# $OpenBSD: install.sub,v 1.134 1999/10/02 18:53:24 deraadt Exp $
# $NetBSD: install.sub,v 1.5.2.8 1996/09/02 23:25:02 pk Exp $
#
# Copyright (c) 1997,1998 Todd Miller, Theo de Raadt
@@ -1243,7 +1243,7 @@ while test -n "${_get_files}" ; do
for _f in $_get_files ; do
echo "$1/${_f}:"
if [ "X${_f}" = "Xlibssl${VERSION}.tar.gz" ]; then
- ( cd /mnt ; ftp ${_ftp_active} -o - -V -m ${_url_base}/${_f} | /mnt/usr/sbin/chroot /mnt /usr/sbin/pkg_add -)
+ ( cd /mnt ; ftp -o - -V -m file:$1/${_f} | /mnt/usr/sbin/chroot /mnt /usr/sbin/pkg_add -)
elif [ "X${_f}" = "X${_kernel}" ]; then
ftp -V -m -o /mnt/$_f file:$1/$_f
else