]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/MakeMUONResMisAlignment.C
Updated alignment macros and related changes (Raffaele)
[u/mrichter/AliRoot.git] / MUON / MakeMUONResMisAlignment.C
index 9ecdf62666857bf3c5597a6fa13536fe2f7d8e84..844c1d8836badc9b4d3685db7ea9c5a2228ef87e 100644 (file)
@@ -48,7 +48,7 @@ void MakeMUONResMisAlignment()
   
   AliCDBStorage* storage;
   
-  if( gSystem->Getenv("TOCDB") == TString("kTRUE") ){
+  if( TString(gSystem->Getenv("TOCDB")) == TString("kTRUE") ){
     TString Storage = gSystem->Getenv("STORAGE");
     if(!Storage.BeginsWith("local://") && !Storage.BeginsWith("alien://")) {
       Error(macroname,"STORAGE variable set to %s is not valid. Exiting\n",Storage.Data());