Changeset 2774 for trunk/gsdl/src
- Timestamp:
- 2001-10-02T22:36:37+12:00 (23 years ago)
- Location:
- trunk/gsdl/src/recpt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/collectoraction.cpp
r2727 r2774 457 457 ifstream fbld_in (fbldc); 458 458 if (fbld_in) { 459 char c= fbld_in.get();459 failcode = fbld_in.get(); 460 460 fbld_in.close(); 461 if ( c== '0') {461 if (failcode == '0') { 462 462 // success - we need to create and configure a collection server for the 463 463 // newly built collection (for fastcgi and local library where … … 467 467 current_page = "bilddone"; 468 468 } 469 else if (c == '4' || c == '5') message = "installfail";470 469 else current_page = "bildfail"; 471 470 } else { … … 1027 1026 // _statusline_ -- if displaying the bildstatus page 1028 1027 // _header_ -- may be set for pages that require it 1028 // _textfailmsg_ -- set to different messages depending on failcode returned 1029 // by build script (if build fails) 1029 1030 // _faillog_ - set to last 6 lines of .bld file if build failed 1030 1031 // _gsdlhome_ - the gsdlhome path (dm_safe) … … 1155 1156 1156 1157 if (collector_page == "bildfail") { 1158 1159 text_t textfailmsg = "_textfailmsg"; 1160 textfailmsg.push_back(failcode); 1161 textfailmsg.push_back('_'); 1162 disp.setmacro("textfailmsg", "collector", textfailmsg); 1163 1157 1164 text_t bldlog = filename_cat(gsdlhome, "tmp", args["bc1tmp"], args["bc1dirname"] + ".bld"); 1158 1165 text_t rawlog = file_tail (bldlog, 6, 0); -
trunk/gsdl/src/recpt/collectoraction.h
r2627 r2774 42 42 43 43 text_t message; 44 char failcode; 44 45 45 46 bool do_mkcol;
Note:
See TracChangeset
for help on using the changeset viewer.