Changeset 32612
- Timestamp:
- 2018-11-19T14:40:48+13:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/bin/script/incremental-buildcol.pl
r32611 r32612 103 103 104 104 my $collectcfg = &colcfg::read_collection_cfg ($collect_cfg_filename,$gs_mode); 105 105 my $build_dir_defined = 1; 106 if (!defined $build_dir) { 107 # Yes this is intentional that 'build_dir' points to "index" 108 $build_dir = &util::filename_cat ($ENV{'GSDLCOLLECTDIR'},"index"); 109 $build_dir_defined = 0; 110 } 106 111 # look for build.cfg/buildConfig.xml 107 112 my $build_cfg_filename =""; … … 143 148 144 149 # if we actually are incremental, then set builddir to index. 145 if ( !defined $build_dir&& $is_incremental) {150 if ( !$build_dir_defined && $is_incremental) { 146 151 # Yes this is intentional that 'build_dir' points to "index" 147 152 $build_dir = &util::filename_cat ($ENV{'GSDLCOLLECTDIR'},"index");
Note:
See TracChangeset
for help on using the changeset viewer.