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.arc Pull up revision 1.23 (requested by lukem):



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

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

diffs (25 lines):

diff -r 0c7149f0eb6f -r 9a472a82a671 etc/etc.arc/MAKEDEV
--- a/etc/etc.arc/MAKEDEV       Sat Aug 10 00:09:34 2002 +0000
+++ b/etc/etc.arc/MAKEDEV       Sat Aug 10 00:09:43 2002 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh -
-#      $NetBSD: MAKEDEV,v 1.20 2002/03/16 17:03:30 martin Exp $
+#      $NetBSD: MAKEDEV,v 1.20.2.1 2002/08/10 00:09:43 lukem Exp $
 #
 # Copyright (c) 1990 The Regents of the University of California.
 # All rights reserved.
@@ -499,9 +499,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