summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-03-29 17:48:17 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-03-29 17:48:17 +0000
commitca8f1d36879253f565a808733e95df41e42fcf23 (patch)
treef1e36b158fa25ca036479dd402f36c64a7c86f8a
parent9f5e8ae26b26fd668c4bca611d0c48beac587c84 (diff)
glob against files in the selector not in the total file list
(although it would be nice to be able to do that too). Now '*' does what the user might expect.
-rw-r--r--distrib/miniroot/install.sub10
1 files changed, 5 insertions, 5 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub
index 30910fec90e..dcceb8f0366 100644
--- a/distrib/miniroot/install.sub
+++ b/distrib/miniroot/install.sub
@@ -1,5 +1,5 @@
#!/bin/sh
-# $OpenBSD: install.sub,v 1.64 1998/03/29 01:11:32 millert Exp $
+# $OpenBSD: install.sub,v 1.65 1998/03/29 17:48:16 millert 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
@@ -940,7 +940,7 @@ OOF
# Eww.
_matched=0
- for _f in $_file_list; do
+ for _f in $_sets $_kernel; do
. $_tfile
done
rm -f $_tfile
@@ -1021,7 +1021,7 @@ OOF
# Eww.
_matched=0
- for _f in $_file_list; do
+ for _f in $_failed_files; do
. $_tfile
done
rm -f $_tfile
@@ -1140,7 +1140,7 @@ OOF
# Eww.
_matched=0
- for _f in `cd $1 && echo *`; do
+ for _f in $_sets $_kernel; do
. $_tfile
done
rm -f $_tfile
@@ -1221,7 +1221,7 @@ OOF
# Eww.
_matched=0
- for _f in `cd $1 && echo *`; do
+ for _f in $_failed_files; do
. $_tfile
done
rm -f $_tfile