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.hpcmips Pull up revision 1.40 (requested by luk...



details:   https://anonhg.NetBSD.org/src/rev/8cfb04c05c1b
branches:  netbsd-1-6
changeset: 528985:8cfb04c05c1b
user:      lukem <lukem%NetBSD.org@localhost>
date:      Sat Aug 10 00:09:07 2002 +0000

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

diffs (26 lines):

diff -r 2a1633e3a2f1 -r 8cfb04c05c1b etc/etc.hpcmips/MAKEDEV
--- a/etc/etc.hpcmips/MAKEDEV   Sat Aug 10 00:08:57 2002 +0000
+++ b/etc/etc.hpcmips/MAKEDEV   Sat Aug 10 00:09:07 2002 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh -
 #
-#      $NetBSD: MAKEDEV,v 1.36 2002/03/23 09:06:50 hamajima Exp $
+#      $NetBSD: MAKEDEV,v 1.36.2.1 2002/08/10 00:09:07 lukem Exp $
 #
 # Copyright (c) 1990 The Regents of the University of California.
 # All rights reserved.
@@ -644,9 +644,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