[16465] in Athena Bugs

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

webeq: setting PATH in shell scripts

daemon@ATHENA.MIT.EDU (Jacob Morzinski)
Wed Nov 4 07:16:34 1998

Date: Wed, 4 Nov 1998 07:16:30 -0500 (EST)
From: Jacob Morzinski <jmorzins@MIT.EDU>
Reply-To: Jacob Morzinski <jmorzins@MIT.EDU>
To: bugs@MIT.EDU
Cc: alexp@MIT.EDU

The file /mit/webeq/cshrc tries to extend people's paths to
include the java locker in their path.  

It does this by hardcoding arch/$ATHENA_SYS into people's paths,
which used to be good, but stopped being the best way to do it
about a year ago.  It is now better to use "athdir".

A patch for /mit/webeq/cshrc is included.


*** cshrc.orig  Wed Nov  4 07:13:19 1998
--- cshrc       Wed Nov  4 07:11:57 1998
***************
*** 7,8 ****
  setenv JAVA_DIR `attach -p java`
! set path=(${JAVA_DIR}/arch/${ATHENA_SYS}/bin $path)
--- 7,8 ----
  setenv JAVA_DIR `attach -p java`
! set path=(`athdir $JAVA_DIR bin` $path)



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