Changeset 23044

Show
Ignore:
Timestamp:
05.10.2010 15:58:38 (9 years ago)
Author:
kjdon
Message:

if we are building 'in place' then don't want to install the collection using build - this copies it into gsdl/collect. But if using a non standard collecthome then this place is wrong

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/runtime-src/src/recpt/wizardaction.cpp

    r23012 r23044  
    529529  options += "\" -collectdir \"" + collectdir + "\" -statsfile \""; 
    530530  options += filename_cat(collectdir, collection, "etc", "import.log") + "\""; 
     531  // are we building in place? if so, don't install as if we have a non standard collect home it will try to copy into gsdl/collect 
     532  if (collectdir == collecthome) { 
     533    options += " -dontinstall"; 
     534  } 
    531535 
    532536  if (args[macro_prefix+"esrce"] == 1) {