Ignore:
Timestamp:
Apr 7, 2011, 10:02:44 PM (10 years ago)
Author:
tbretz
Message:
Remove lt- prefix from libtool from program name.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/ReadlineColor.cc

    r10321 r10325  
    2323bool ReadlineColor::PrintBootMsg(ostream &out, const string &name)
    2424{
     25    string n = boost::filesystem::basename(name);
     26    if (n.substr(0, 3)=="lt-")
     27        n = n.substr(3);
     28
    2529    out << endl;
    2630    out << kBlue << kBold << kUnderline << " Master Control Program " << endl;
     
    2832    out << kBlue << " ENCOM MX 16-923 USER # 0" << int(Time().Mjd()) << Time::fmt(" %H:%M:%S") << Time() << Time::reset << " INFORMATION" << endl;
    2933    out << endl;
    30     out << kBlue << " TELESCOPE CONTROL PROGRAM: " << boost::filesystem::basename(name) << endl;
     34    out << kBlue << " TELESCOPE CONTROL PROGRAM: " << n << endl;
    3135    out << kBlue << " ANNEXED BY FACT COLLABORATION" << endl;
    3236    out << kBlue << " ORIGINAL PROGRAM WRITTEN BY T.BRETZ" << endl;
Note: See TracChangeset for help on using the changeset viewer.