Commit 93a75156 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Commit fix that makes sure the script is operating from the proper directory.

parent a873d627
......@@ -80,6 +80,13 @@ else {
die("Bad data in eid: $eid.");
}
# Do this in case we are not called from tbprerun.
my $workdir = TBExptWorkDir($pid, $eid);
chdir("$workdir") or
die("*** $0:\n".
" Could not chdir to $workdir: $!");
# The output stream.
my $OUT;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment