diff options
Diffstat (limited to 'etc/etc.sparc64/MAKEDEV')
-rw-r--r-- | etc/etc.sparc64/MAKEDEV | 15 |
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 |