[26892] in Athena Bugs

home help back first fref pref prev next nref lref last post

Bug in system bashrc for linux

daemon@ATHENA.MIT.EDU (Tim Abbott)
Sat Jul 15 18:09:29 2006

Date: Sat, 15 Jul 2006 18:09:10 -0400 (EDT)
From: Tim Abbott <tabbott@mit.edu>
To: bugs@mit.edu
Message-ID: <Pine.LNX.4.62L.0607151751260.31388@tabbott.mit.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-Spam-Score: 3.548
X-Spam-Level: *** (3.548)
X-Spam-Flag: NO
Errors-To: bugs-bounces@mit.edu

Hello,

 	I noticed that the Athena system .bashrc file on linux installs 
/srvd/patch in the PATH, which seems to be the result of a mistake from
copying the solaris default athena_path.

 	-Tim Abbott

         # Set standard Athena path variables (generic path for all users).
         # PATH will get set later after .bash_environment is run.
         case "$HOSTTYPE" in
         sgi)
                 athena_path=/usr/athena/bin:/usr/athena/etc:
                 athena_path=$athena_path:/bin/athena:/usr/sbin:/usr/bsd:/sbin
                 athena_path=$athena_path:/usr/bin:/bin:/usr/bin/X11:/usr/etc
                 MANPATH=/usr/athena/man:/usr/freeware/catman:/usr/share/catman
                 MANPATH=$MANPATH:/usr/share/man:/usr/catman:/usr/man
                 ;;
         sun4)
                 athena_path=/srvd/patch:/usr/athena/bin:/usr/athena/etc
                 athena_path=$athena_path:/bin/athena:/usr/openwin/bin
                 athena_path=$athena_path:/usr/openwin/demo:/usr/dt/bin:/usr/bin
                 athena_path=$athena_path:/usr/ccs/bin:/usr/sbin:/sbin
                 athena_path=$athena_path:/usr/sfw/bin:/usr/ucb
                 MANPATH=/usr/athena/man:/usr/openwin/man:/usr/dt/man:/usr/man
                 MANPATH=$MANPATH:/usr/sfw/man
                 ;;
         linux)
                 athena_path=/srvd/patch:/usr/athena/bin:/usr/athena/etc
                 athena_path=$athena_path:/bin/athena:/usr/bin:/bin
                 athena_path=$athena_path:/usr/X11R6/bin:/usr/athena/etc
                 athena_path=$athena_path:/usr/sbin:/sbin
                 MANPATH=/usr/athena/man:/usr/share/man:/usr/X11R6/man
                 ;;
         *)
                 echo "Standard dotfiles do not support system type $HOSTTYPE."
         esac


home help back first fref pref prev next nref lref last post