]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
small fix in dir name of svnInfo file
authorabercuci <abercuci@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 11 Nov 2010 12:14:36 +0000 (12:14 +0000)
committerabercuci <abercuci@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 11 Nov 2010 12:14:36 +0000 (12:14 +0000)
PWG1/TRD/AliTRDpwg1Helper.cxx

index 9cd74a4f5288f15d8b929cd5cbb993ded2491fe2..664d772f4e3c1d8e54feb20d10afb775e835952f 100644 (file)
@@ -188,7 +188,7 @@ const Char_t* AliTRDpwg1Helper::MergeBatch(const Char_t *mark, const Char_t *fil
       continue;
     }
     if(kSVN){ // download SVN info for trending
-      if(gSystem->Exec(Form("if [ ! -f svnInfo.log ]; then cp -v %s/svnInfo.log %s; fi", Basename(filename.c_str()), gSystem->ExpandPathName("$PWD"))) == 0) kSVN=kFALSE;
+      if(gSystem->Exec(Form("if [ ! -f svnInfo.log ]; then cp -v %s/svnInfo.log %s; fi", Dirname(filename.c_str()), gSystem->ExpandPathName("$PWD"))) == 0) kSVN=kFALSE;
     }
     Info("MergeBatch()", filename.c_str());
     if(!fFM.AddFile(filename.c_str())) return NULL;