Ignore:
Timestamp:
2008-07-09T13:12:15+12:00 (16 years ago)
Author:
davidb
Message:

Introduction of 'collecthome' which parallels 'gsdlhome' to allow the toplevel collect folder to be outside of the gsdlhome area

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/src/recpt/collectoraction.cpp

    r15597 r16310  
    381381    // etc directory to the new collection.
    382382    if (args["bc1clone"] == "1") {
    383       text_t clone_etc = filename_cat(gsdlhome, "collect", args["bc1clonecol"], "etc");
     383      text_t clone_etc = filename_cat(collecthome, args["bc1clonecol"], "etc");
    384384      text_t new_etc = filename_cat(get_collectdir(args), args["bc1dirname"], "etc");
    385385      text_tarray files;
     
    454454    // cloning was turned on
    455455
    456     text_t cfgfile_clone = filename_cat(gsdlhome, "collect", args["bc1clonecol"], "etc", "collect.cfg");
     456    text_t cfgfile_clone = filename_cat(collecthome, args["bc1clonecol"], "etc", "collect.cfg");
    457457    if (file_exists (cfgfile_clone)) {
    458458      // if .org file doesn't exist already create it
     
    11701170      // delete it
    11711171      text_t colmaintainer;
    1172       text_t cfgfile = filename_cat(gsdlhome, "collect", collection, "etc", "collect.cfg");
     1172      text_t cfgfile = filename_cat(collecthome, collection, "etc", "collect.cfg");
    11731173      char *cfgfilec = cfgfile.getcstr();
    11741174      ifstream cfg_in (cfgfilec);
Note: See TracChangeset for help on using the changeset viewer.