summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-05-14 17:08:12 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-05-14 17:08:12 +0000
commitc43503fbc65908e3463426fb55b65420992e0dc0 (patch)
treef7d2ec33d99bad850d60216bf330c68a560a5064 /distrib
parent78fd3dc7c5e06b3d9a88a9a004431ca9d089e131 (diff)
Fix phantom "bsd" that showed up when there were no recognized sets
(variable needed to be re-init'd).
Diffstat (limited to 'distrib')
-rw-r--r--distrib/miniroot/install.sub4
1 files changed, 3 insertions, 1 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub
index 99b93f60ab5..20cd523ac66 100644
--- a/distrib/miniroot/install.sub
+++ b/distrib/miniroot/install.sub
@@ -1,5 +1,5 @@
#!/bin/sh
-# $OpenBSD: install.sub,v 1.22 1997/05/14 16:26:15 millert Exp $
+# $OpenBSD: install.sub,v 1.23 1997/05/14 17:08:11 millert Exp $
# $NetBSD: install.sub,v 1.5.2.8 1996/09/02 23:25:02 pk Exp $
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -705,6 +705,8 @@ __install_ftp_1
*) ;;
esac
# *.tar.gz and *.tgz are possible sets
+ _sets=""
+ _kernel=""
for _f in `echo "${_ftp_file_list}" | sed 's/^.*\///'` ; do
case "$_f" in
*.tar.gz|*.tgz) _sets="$_sets ${_f}"