summaryrefslogtreecommitdiff
path: root/etc/etc.loongson/MAKEDEV
diff options
context:
space:
mode:
authorJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2012-11-26 08:08:01 +0000
committerJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2012-11-26 08:08:01 +0000
commita15b57a1ca73cf9f6f4221a95d9a105ff2bef875 (patch)
treeacb45f404af0ab46661e3e6cef497358f636b4ea /etc/etc.loongson/MAKEDEV
parent8b6e05fecf55c39937b31ae58e7ac35ef3657e6b (diff)
regen
Diffstat (limited to 'etc/etc.loongson/MAKEDEV')
-rw-r--r--etc/etc.loongson/MAKEDEV10
1 files changed, 5 insertions, 5 deletions
diff --git a/etc/etc.loongson/MAKEDEV b/etc/etc.loongson/MAKEDEV
index f1f0348c805..10388386b6b 100644
--- a/etc/etc.loongson/MAKEDEV
+++ b/etc/etc.loongson/MAKEDEV
@@ -5,7 +5,7 @@
#
# OpenBSD: etc.loongson/MAKEDEV.md,v 1.13 2012/08/23 06:15:28 deraadt Exp
# OpenBSD: MAKEDEV.common,v 1.60 2012/08/23 06:15:28 deraadt Exp
-# OpenBSD: MAKEDEV.mi,v 1.80 2011/04/18 16:52:10 thib Exp
+# OpenBSD: MAKEDEV.mi,v 1.81 2012/11/05 08:07:09 jasper Exp
# OpenBSD: MAKEDEV.sub,v 1.14 2005/02/07 06:14:18 david Exp
#
#
@@ -178,19 +178,19 @@ M() {
mkl ${5-666} $1 $2 $3 $4
G=${6:-wheel}
[ "$7" ] && {
- MKlist[${#MKlist[*]}]=";chown $7:$G $1"
+ MKlist[${#MKlist[*]}]="&& chown $7:$G $1"
} || {
case $G in
wheel)
- [ ${#whlist[*]} = 0 ] && whlist[0]=";chgrp wheel"
+ [ ${#whlist[*]} = 0 ] && whlist[0]="&& chgrp wheel"
whlist[${#whlist[*]}]="$1"
;;
operator)
- [ ${#oplist[*]} = 0 ] && oplist[0]=";chgrp operator"
+ [ ${#oplist[*]} = 0 ] && oplist[0]="&& chgrp operator"
oplist[${#oplist[*]}]="$1"
;;
*)
- MKlist[${#MKlist[*]}]=";chgrp $G $1";
+ MKlist[${#MKlist[*]}]="&& chgrp $G $1";
esac
}
return 0