Source-Changes-HG archive

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

[src/netbsd-1-4]: src/etc/root pullup 1.9->1.10 (David Brownlee): Check for /...



details:   https://anonhg.NetBSD.org/src/rev/a2e687ebfbb0
branches:  netbsd-1-4
changeset: 468925:a2e687ebfbb0
user:      perry <perry%NetBSD.org@localhost>
date:      Wed Jun 23 14:52:03 1999 +0000

description:
pullup 1.9->1.10 (David Brownlee): Check for /usr/bin/id before using

diffstat:

 etc/root/dot.cshrc |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 61116db1a9d2 -r a2e687ebfbb0 etc/root/dot.cshrc
--- a/etc/root/dot.cshrc        Wed Jun 23 14:50:14 1999 +0000
+++ b/etc/root/dot.cshrc        Wed Jun 23 14:52:03 1999 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: dot.cshrc,v 1.9 1998/01/10 00:51:56 perry Exp $
+#      $NetBSD: dot.cshrc,v 1.9.2.1 1999/06/23 14:52:03 perry Exp $
 
 set history=1000
 set path=(/sbin /usr/sbin /bin /usr/bin /usr/pkg/sbin /usr/pkg/bin /usr/X11R6/bin /usr/local/sbin /usr/local/bin)
@@ -24,7 +24,7 @@
 alias  pd4     pushd +4
 alias  tset    'set noglob histchars=""; eval `\tset -s \!*`; unset noglob histchars'
 
-if ($?prompt) then
+if ($?prompt && -x /usr/bin/id ) then
        if (`/usr/bin/id -u` == 0) then
                set prompt="`hostname -s`# "
        else



Home | Main Index | Thread Index | Old Index