Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-6]: src/etc/etc.i386 Pull up revision 1.181 (requested by lukem):



details:   https://anonhg.NetBSD.org/src/rev/2d2633c9c287
branches:  netbsd-1-6
changeset: 528993:2d2633c9c287
user:      lukem <lukem%NetBSD.org@localhost>
date:      Sat Aug 10 00:10:21 2002 +0000

description:
Pull up revision 1.181 (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.i386/MAKEDEV |  10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diffs (26 lines):

diff -r 703081f75009 -r 2d2633c9c287 etc/etc.i386/MAKEDEV
--- a/etc/etc.i386/MAKEDEV      Sat Aug 10 00:10:12 2002 +0000
+++ b/etc/etc.i386/MAKEDEV      Sat Aug 10 00:10:21 2002 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh -
 #
-#      $NetBSD: MAKEDEV,v 1.175 2002/04/18 12:54:11 wiz Exp $
+#      $NetBSD: MAKEDEV,v 1.175.2.1 2002/08/10 00:10:21 lukem Exp $
 #
 # Copyright (c) 1990 The Regents of the University of California.
 # All rights reserved.
@@ -949,9 +949,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