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.8 (requested by lukem):



details:   https://anonhg.NetBSD.org/src/rev/703081f75009
branches:  netbsd-1-6
changeset: 528992:703081f75009
user:      lukem <lukem%NetBSD.org@localhost>
date:      Sat Aug 10 00:10:12 2002 +0000

description:
Pull up revision 1.8 (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.mvmeppc/MAKEDEV |  10 ++++++----
 etc/etc.sbmips/MAKEDEV  |  10 ++++++----
 2 files changed, 12 insertions(+), 8 deletions(-)

diffs (51 lines):

diff -r b2f516dfee8c -r 703081f75009 etc/etc.mvmeppc/MAKEDEV
--- a/etc/etc.mvmeppc/MAKEDEV   Sat Aug 10 00:10:02 2002 +0000
+++ b/etc/etc.mvmeppc/MAKEDEV   Sat Aug 10 00:10:12 2002 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh -
 #
-#      $NetBSD: MAKEDEV,v 1.5 2002/03/16 17:03:34 martin Exp $
+#      $NetBSD: MAKEDEV,v 1.5.2.1 2002/08/10 00:10:12 lukem Exp $
 #
 # Copyright (c) 1990 The Regents of the University of California.
 # All rights reserved.
@@ -588,9 +588,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 b2f516dfee8c -r 703081f75009 etc/etc.sbmips/MAKEDEV
--- a/etc/etc.sbmips/MAKEDEV    Sat Aug 10 00:10:02 2002 +0000
+++ b/etc/etc.sbmips/MAKEDEV    Sat Aug 10 00:10:12 2002 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh -
-#      $NetBSD: MAKEDEV,v 1.1 2002/04/10 14:21:46 simonb Exp $
+#      $NetBSD: MAKEDEV,v 1.1.2.1 2002/08/10 00:10:12 lukem Exp $
 #
 # Copyright (c) 1990 The Regents of the University of California.
 # All rights reserved.
@@ -611,9 +611,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