[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference smurf::buildhelp

Title:USG buildhelp questions/answers
Moderator:SMURF::FILTER
Created:Mon Apr 26 1993
Last Modified:Mon Jan 20 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2763
Total number of notes:5802

400.0. " workon messing up $HOME" by SMURF::FILTER (Automatic Posting Software - mail to flume::puck) Mon Nov 01 1993 12:44

Date Of Receipt: 	 1-NOV-1993 11:39:33.62
From: 	QUARRY::reeves "Jon Reeves"
To: 	odehelp@DEC:.zko.quarry
CC: 	
Subj: 	"workon" messing up $HOME

It appears that the "workon" command has started screwing up the $HOME
variable.  It appears to set $HOME to the base of the sandbox source tree
after starting the shell.

This is a Bad Thing.  First, because the shell has already started, you get
none of the "benefits" of resetting $HOME; a "cd" command with no arguments
will still send you to your real $HOME.  Second, resetting $HOME is an
excellent way to make the user's .cshrc / .profile impossible to find, thus
rendering the "bsh" command much less useful.

In short, while having a variable point to the base of the sandbox sources
is a good idea, $HOME is a terrible choice for that variable.  (The
existing SOURCEBASE seems to do just fine.)

T.RTitleUserPersonal
Name
DateLines