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 10 of file cwb_publish.C.
Definition at line 19 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 18 of file cwb_publish.C.
Definition at line 9 of file cwb_publish.C.
else |
Definition at line 25 of file cwb_publish.C.
Definition at line 15 of file cwb_publish.C.