#383: SimFactory 1 does not create source directory on login -------------------------+-------------------------------------------------- Reporter: hinder | Owner: mthomas Type: defect | Status: new Priority: major | Milestone: ET_2011_05 Component: SimFactory | Version: Resolution: | Keywords: -------------------------+--------------------------------------------------
Comment (by mthomas):
I uploaded a small patch that changes sim_login from using {{{ my $cmd = "cd $path && $SHELL -l"; }}} to
{{{ my $cmd = "cd $path || echo "could not change to directory $path"; $SHELL -l"; }}}
This makes it fail gracefully when it can't change to the correct directory. I can change it so it attempts to make the directory, but this seems better because I don't think it's right to attempt to make the path if sourcebasedir is wrong.