Ignore:
Timestamp:
Jan 27, 2012, 4:47:18 PM (12 years ago)
Author:
rybkin
Message:

See C.L. 478

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CMT/HEAD/source/cmt_parser.cxx

    r599 r603  
    75027502      if (Me.m_current_package != "CMT")
    75037503        {
    7504           cout << "unset " << prefix << "ROOT" << endl;
    7505           cout << "unset " << prefix << "CONFIG" << endl;
     7504          cout << "[ -z ${" << prefix << "ROOT+CMT} ] || unset " << prefix << "ROOT" << endl;
     7505          cout << "[ -z ${" << prefix << "CONFIG+CMT} ] || unset " << prefix << "CONFIG" << endl;
     7506          //          cout << "unset " << prefix << "ROOT" << endl;
     7507          //          cout << "unset " << prefix << "CONFIG" << endl;
    75067508        }
    75077509      break;
     
    75407542              break;
    75417543            case Sh :
    7542               cout << "unset " << prefix << "ROOT" << endl;
    7543               cout << "unset " << prefix << "CONFIG" << endl;
     7544              cout << "[ -z ${" << prefix << "ROOT+CMT} ] || unset " << prefix << "ROOT" << endl;
     7545              cout << "[ -z ${" << prefix << "CONFIG+CMT} ] || unset " << prefix << "CONFIG" << endl;
     7546          //              cout << "unset " << prefix << "ROOT" << endl;
     7547          //              cout << "unset " << prefix << "CONFIG" << endl;
    75447548              break;
    75457549            case Bat :
     
    75577561      break;
    75587562    case Sh :
    7559       cout << "unset CMTEXTRATAGS" << endl;
     7563      cout << "[ -z ${CMTEXTRATAGS+CMT} ] || unset CMTEXTRATAGS" << endl;
     7564              //      cout << "unset CMTEXTRATAGS" << endl;
    75607565      break;
    75617566    case Bat :
Note: See TracChangeset for help on using the changeset viewer.