[ET Trac] [Einstein Toolkit] #383: SimFactory 1 does not create source directory on login
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Mon Apr 4 14:12:42 CDT 2011
#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.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/383#comment:6>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list