]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Fix for insertion of #User comment when some package contains the name "User"
authoragheata <agheata@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 13 May 2009 12:25:23 +0000 (12:25 +0000)
committeragheata <agheata@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 13 May 2009 12:25:23 +0000 (12:25 +0000)
ANALYSIS/AliAnalysisAlien.cxx

index a38ebe7fd95ff108cd50e575608f8a327c42d0a7..5b47028602b27090f7b3f984c7928ad359c422a3 100644 (file)
@@ -611,7 +611,7 @@ Bool_t AliAnalysisAlien::CreateJDL()
       if (index >= 0) sjdl.Insert(index, "\n# Additional requirements for the computing element\n");
       index = sjdl.Index("Packages");
       if (index >= 0) sjdl.Insert(index, "\n# Packages to be used\n");
-      index = sjdl.Index("User");
+      index = sjdl.Index("User =");
       if (index >= 0) sjdl.Insert(index, "\n# AliEn user\n");
       index = sjdl.Index("TTL");
       if (index >= 0) sjdl.Insert(index, "\n# Time to live for the job\n");