Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-6]: src/etc Pull up revision 1.24 (requested by lukem):
details: https://anonhg.NetBSD.org/src/rev/b2f516dfee8c
branches: netbsd-1-6
changeset: 528991:b2f516dfee8c
user: lukem <lukem%NetBSD.org@localhost>
date: Sat Aug 10 00:10:02 2002 +0000
description:
Pull up revision 1.24 (requested by lukem):
- in local), only run $0.local if it is an existing file
(prevents spurious warning for mfs /dev, amongst other things)
- for mipsco, news68k, newsmips: ensure that "umask 77" is run after $0.local
- for playstation2: add local) target, and use in all) (for consistency)
diffstat:
etc/etc.sandpoint/MAKEDEV | 10 ++++++----
etc/etc.sgimips/MAKEDEV | 10 ++++++----
etc/etc.walnut/MAKEDEV | 10 ++++++----
3 files changed, 18 insertions(+), 12 deletions(-)
diffs (77 lines):
diff -r 704352d64985 -r b2f516dfee8c etc/etc.sandpoint/MAKEDEV
--- a/etc/etc.sandpoint/MAKEDEV Sat Aug 10 00:09:52 2002 +0000
+++ b/etc/etc.sandpoint/MAKEDEV Sat Aug 10 00:10:02 2002 +0000
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $NetBSD: MAKEDEV,v 1.21 2002/04/18 13:24:59 wiz Exp $
+# $NetBSD: MAKEDEV,v 1.21.2.1 2002/08/10 00:10:02 lukem Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -542,9 +542,11 @@
;;
local)
- umask 0
- sh $0.local all
- umask 77
+ if [ -f "$0.local" ]; then
+ umask 0
+ sh $0.local all
+ umask 77
+ fi
;;
*)
diff -r 704352d64985 -r b2f516dfee8c etc/etc.sgimips/MAKEDEV
--- a/etc/etc.sgimips/MAKEDEV Sat Aug 10 00:09:52 2002 +0000
+++ b/etc/etc.sgimips/MAKEDEV Sat Aug 10 00:10:02 2002 +0000
@@ -1,5 +1,5 @@
#!/bin/sh -
-# $NetBSD: MAKEDEV,v 1.21 2002/03/16 17:03:36 martin Exp $
+# $NetBSD: MAKEDEV,v 1.21.2.1 2002/08/10 00:10:02 lukem Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -490,9 +490,11 @@
;;
local)
- umask 0
- sh $0.local all
- umask 77
+ if [ -f "$0.local" ]; then
+ umask 0
+ sh $0.local all
+ umask 77
+ fi
;;
*)
diff -r 704352d64985 -r b2f516dfee8c etc/etc.walnut/MAKEDEV
--- a/etc/etc.walnut/MAKEDEV Sat Aug 10 00:09:52 2002 +0000
+++ b/etc/etc.walnut/MAKEDEV Sat Aug 10 00:10:02 2002 +0000
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $NetBSD: MAKEDEV,v 1.19 2002/04/18 13:24:59 wiz Exp $
+# $NetBSD: MAKEDEV,v 1.19.2.1 2002/08/10 00:10:02 lukem Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -534,9 +534,11 @@
;;
local)
- umask 0
- sh $0.local all
- umask 77
+ if [ -f "$0.local" ]; then
+ umask 0
+ sh $0.local all
+ umask 77
+ fi
;;
*)
Home |
Main Index |
Thread Index |
Old Index