summaryrefslogtreecommitdiff
path: root/distrib/miniroot/install.sub
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2009-05-09 19:33:36 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2009-05-09 19:33:36 +0000
commitf59aa773baa97fb5916de9fc72f3615d6073c4b0 (patch)
tree74a1f5ffb8d7d469432ab30a6a31fff5994121ca /distrib/miniroot/install.sub
parent12f3ea40e46deb8cb10e6c55ea6ad8d03dccdd85 (diff)
IFS dance not needed
Diffstat (limited to 'distrib/miniroot/install.sub')
-rw-r--r--distrib/miniroot/install.sub6
1 files changed, 2 insertions, 4 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub
index 4edfa68b9d5..7e3e8e07156 100644
--- a/distrib/miniroot/install.sub
+++ b/distrib/miniroot/install.sub
@@ -1,4 +1,4 @@
-# $OpenBSD: install.sub,v 1.541 2009/05/09 19:11:11 deraadt Exp $
+# $OpenBSD: install.sub,v 1.542 2009/05/09 19:33:35 deraadt Exp $
# $NetBSD: install.sub,v 1.5.2.8 1996/09/02 23:25:02 pk Exp $
#
# Copyright (c) 1997-2009 Todd Miller, Theo de Raadt, Ken Westerback
@@ -955,7 +955,7 @@ enable_network() {
# named in $1. Display an error message for failed installs so the
# user will know to try again.
install_files() {
- local _src=$1 _files=$2 _f _sets _get_sets _oifs _n
+ local _src=$1 _files=$2 _f _sets _get_sets _n
# Initialize _sets to the list of sets found in _src, and initialize
# _get_sets to the intersection of _sets and DEFAULTSETS.
@@ -975,9 +975,7 @@ install_files() {
echo -n "Looked at "
echo $_src | sed -e 's/\(^ftp:\/\/[^/]*\)\(:[^/]*\)\(@.*\)/\1\3/'
echo "and found no $OBSD sets. The set names looked for were:"
- _oifs=$IFS; IFS=" "
for _n in $THESETS; do echo $_n; done | showcols
- IFS=$_oifs
echo
return
fi