From 7e457ff771cf660067ebc6866b675bf59da012c4 Mon Sep 17 00:00:00 2001
From: Leo Gordon <lg4@ebi.ac.uk>
Date: Tue, 18 May 2010 14:48:06 +0000
Subject: [PATCH] an important bug fix

---
 modules/Bio/EnsEMBL/Hive/Meadow/LSF.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/Bio/EnsEMBL/Hive/Meadow/LSF.pm b/modules/Bio/EnsEMBL/Hive/Meadow/LSF.pm
index 8c000fff2..3727c4dbb 100644
--- a/modules/Bio/EnsEMBL/Hive/Meadow/LSF.pm
+++ b/modules/Bio/EnsEMBL/Hive/Meadow/LSF.pm
@@ -89,7 +89,7 @@ sub submit_workers {
     my $job_name       = $self->generate_job_name($worker_count, $iteration, $rc_id);
     my $meadow_options = $self->meadow_options();
 
-    my $cmd = "bsub -o /dev/null -J\"${job_name}\" $rc_parameters $meadow_options $worker_cmd -rc_id $rc_id";
+    my $cmd = qq{bsub -o /dev/null -J "${job_name}" $rc_parameters $meadow_options $worker_cmd -rc_id $rc_id};
 
     print "SUBMITTING_CMD:\t\t$cmd\n";
     system($cmd) && die "Could not submit job(s): $!, $?";  # let's abort the beekeeper and let the user check the syntax
-- 
GitLab