Ignore:
Timestamp:
05/01/04 16:33:16 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/macros/rootlogon.C

    r3758 r3927  
    8585    cout << endl;
    8686
    87     TString dir = gSystem->Getenv("MARSSYS");
     87    const Bool_t fileexist = !gSystem->AccessPathName("libmars.so", kFileExists);
     88
     89    TString dir = fileexist ? "" : gSystem->Getenv("MARSSYS");
    8890    if (!dir.IsNull())
    8991    {
Note: See TracChangeset for help on using the changeset viewer.