Commit bf9e509a authored by Leo Gordon's avatar Leo Gordon
Browse files

try to avoid name collisions

parent 83e51aaf
......@@ -397,7 +397,7 @@ sub worker_process_temp_directory {
unless(defined($self->{'_tmp_dir'}) and (-e $self->{'_tmp_dir'})) {
#create temp directory to hold fasta databases
$self->{'_tmp_dir'} = "/tmp/worker.$$/";
$self->{'_tmp_dir'} = "/tmp/worker_$ENV{'USER'}.$$/";
mkdir($self->{'_tmp_dir'}, 0777);
throw("unable to create ".$self->{'_tmp_dir'}) unless(-e $self->{'_tmp_dir'});
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