summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorTodd T. Fries <todd@cvs.openbsd.org>2001-09-05 15:01:54 +0000
committerTodd T. Fries <todd@cvs.openbsd.org>2001-09-05 15:01:54 +0000
commit1a1c8c9580f2c893df3458fb21e84569effd723a (patch)
tree128d4c668af532776e6b10af0a950b53e5e8be7d /etc
parent750553695d037aa45c55319902b6a64a4d12fce8 (diff)
'Think cache and context switches .. art@' .. 34% reduction in runtime!
Diffstat (limited to 'etc')
-rw-r--r--etc/etc.sparc64/MAKEDEV15
1 files changed, 10 insertions, 5 deletions
diff --git a/etc/etc.sparc64/MAKEDEV b/etc/etc.sparc64/MAKEDEV
index 38e20b314e6..28f9ff25a87 100644
--- a/etc/etc.sparc64/MAKEDEV
+++ b/etc/etc.sparc64/MAKEDEV
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.13 2001/09/05 14:42:14 todd Exp $
+# $OpenBSD: MAKEDEV,v 1.14 2001/09/05 15:01:53 todd Exp $
#
# Copyright (c) 2001 Todd T. Fries <todd@OpenBSD.org>
# All rights reserved.
@@ -403,11 +403,16 @@ if [ "$os" = "SunOS" ]; then
s/operator/5/g;s/root.kmem/root.2/g;s/root\./root:/g'`
}
fi
-$eo eval "$RMlist"
+list="$RMlist"
for mode in $modes; do
- $eo eval "${mklist[$mode]}"
+ list="$list;${mklist[$mode]}"
done
for group in $groups; do
- $eo eval "${grplist[$groupl]}"
+ list="$list;${grplist[$groupl]}"
done
-$eo eval "$MKlist"
+list="$list;$MKlist"
+if [ "$eo" = "echo" ]; then
+ echo "$list"
+else
+ echo "$list" | sh
+fi