Functions | |
| TB | checkFile (gSystem->Getenv("CWB_ROOTLOGON_FILE")) |
| TB | checkFile (gSystem->Getenv("CWB_PARAMETERS_FILE")) |
| TB | checkFile (gSystem->Getenv("CWB_UPARAMETERS_FILE")) |
| cout<< endl;cout<< cmd<< endl;gSystem-> | Exec (cmd) |
| exit (0) | |
| if (cwb_pp_data_dir.Sizeof()>1) | |
| if (TString(gSystem->Getenv("CWB_PUBLISH_OPTION")).CompareTo("clean")==0) | |
| spp_dir | ReplaceAll (report_dir+TString("/"),"") |
| sprintf (cmd,"mkdir %s/%s", www_dir, data_label) | |
| sprintf (cmd,"ln -sf %s/%s %s/%s/%s", work_dir, pp_dir, www_dir, data_label, spp_dir.Data()) | |
Variables | |
| char | cmd [512] |
| TString | cwb_pp_data_dir =TString(gSystem->Getenv("CWB_PP_DATA_DIR")) |
| else | |
| TString | spp_dir = pp_dir |
| TB checkFile | ( | gSystem-> | Getenv"CWB_ROOTLOGON_FILE" | ) |
| TB checkFile | ( | gSystem-> | Getenv"CWB_PARAMETERS_FILE" | ) |
| TB checkFile | ( | gSystem-> | Getenv"CWB_UPARAMETERS_FILE" | ) |
| exit | ( | 0 | ) |
| if | ( | cwb_pp_data_dir. | Sizeof(), |
| 1 | |||
| ) |
Definition at line 28 of file cwb_publish.C.
Definition at line 37 of file cwb_publish.C.
| spp_dir ReplaceAll | ( | report_dir+ | TString"/", |
| "" | |||
| ) |
| sprintf | ( | cmd | , |
| "mkdir %s/%s" | , | ||
| www_dir | , | ||
| data_label | |||
| ) |
| sprintf | ( | cmd | , |
| "ln -sf %s/%s %s/%s/%s" | , | ||
| work_dir | , | ||
| pp_dir | , | ||
| www_dir | , | ||
| data_label | , | ||
| spp_dir. | Data() | ||
| ) |
| char cmd[512] |
Definition at line 36 of file cwb_publish.C.
Definition at line 27 of file cwb_publish.C.
| else |
Definition at line 43 of file cwb_publish.C.
Definition at line 33 of file cwb_publish.C.