28 if(gSystem->Getenv(
"HOME")==NULL) {
29 cout <<
"Error : environment HOME is not defined!!!" << endl;
exit(1);
31 home=
TString(gSystem->Getenv(
"HOME"));
33 www_rep.ReplaceAll(
"~",home);
35 cout << www_rep << endl;
38 cout <<
" -----------------------------" << endl;
39 cout <<
" List of report directories" << endl;
40 cout <<
" -----------------------------" << endl;
43 for(
int i=0;
i<repList.size();
i++) {
44 repList[
i].ReplaceAll(
pp_dir,
"");
45 repList[
i].ReplaceAll(
"/",
"");
47 for(
int j=0;
j<wwwList.size();
j++) {
48 wwwList[
j].ReplaceAll(www_rep,
"");
49 wwwList[
j].ReplaceAll(
"/",
"");
50 if(wwwList[
j].CompareTo(repList[
i])==0) published=
true;;
53 cout <<
" x : " << repList[
i].Data() << endl;
55 cout <<
" - : " << repList[
i].Data() << endl;
59 cout <<
" -----------------------------" << endl;
60 cout <<
" x/- : published/not-published" << endl;
cout<< endl;cout<< www_rep<< endl;vector< TString > wwwList
vector< TString > repList