From 302e5f178a7a010c19c1dcfb2c787d0babb46ca5 Mon Sep 17 00:00:00 2001 From: abercuci Date: Thu, 11 Nov 2010 12:14:36 +0000 Subject: [PATCH] small fix in dir name of svnInfo file --- PWG1/TRD/AliTRDpwg1Helper.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PWG1/TRD/AliTRDpwg1Helper.cxx b/PWG1/TRD/AliTRDpwg1Helper.cxx index 9cd74a4f528..664d772f4e3 100644 --- a/PWG1/TRD/AliTRDpwg1Helper.cxx +++ b/PWG1/TRD/AliTRDpwg1Helper.cxx @@ -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; -- 2.43.0