]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
removed trailing / after the base directory in the find command generated by the...
authoragheata <agheata@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 10 Oct 2013 08:37:38 +0000 (08:37 +0000)
committeragheata <agheata@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 10 Oct 2013 08:37:38 +0000 (08:37 +0000)
ANALYSIS/AliAnalysisAlien.cxx

index b0579ceda09b8bc26cddb3be5c3bd029853cc4e0..39b390436bced709c90086fa4342d4ecabe2828f 100644 (file)
@@ -1316,7 +1316,7 @@ Bool_t AliAnalysisAlien::CreateDataset(const char *pattern)
       while ((os=(TObjString*)next())) {
          nstart = 0;
          stage = 0;
-         path = Form("%s/%s/", fGridDataDir.Data(), os->GetString().Data());
+         path = Form("%s/%s", fGridDataDir.Data(), os->GetString().Data());
          if (!DirectoryExists(path)) continue;
 //         CdWork();
          if (TestBit(AliAnalysisGrid::kTest)) file = "wn.xml";
@@ -1445,7 +1445,7 @@ Bool_t AliAnalysisAlien::CreateDataset(const char *pattern)
    } else {
       // Process a full run range.
       for (Int_t irun=fRunRange[0]; irun<=fRunRange[1]; irun++) {
-         format = Form("%%s/%s/", fRunPrefix.Data());
+         format = Form("%%s/%s", fRunPrefix.Data());
          nstart = 0;
          stage = 0;
          path = Form(format.Data(), fGridDataDir.Data(), irun);