Ignore:
Timestamp:
2009-02-12T13:31:40+13:00 (15 years ago)
Author:
davidb
Message:

Corrected mistake where collectdir was treated as the the full pathname to the named collection, rather than (as it should be) pointing to one folder higher than that.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/bin/script/incremental-buildcol.pl

    r18492 r18510  
    8383
    8484    if (!defined $collect_dir) {
    85     $collect_dir = &util::filename_cat($ENV{'GSDLHOME'},"collect",$collect);
     85    $collect_dir = &util::filename_cat($ENV{'GSDLHOME'},"collect");
    8686    }
    87     if (!-d $collect_dir) {
     87    my $this_collect_dir = &util::filename_cat($collect_dir,$collect);
     88
     89    if (!-d $this_collect_dir) {
    8890    print STDERR "Error: $collect_dir does not exist\n";
    8991    exit(-1);
     
    9294
    9395    if (!defined $build_dir) {
    94     $build_dir = &util::filename_cat($collect_dir,"index");
     96    $build_dir = &util::filename_cat($this_collect_dir,"index");
    9597    push(@filtered_argv,"-builddir",$build_dir);
    9698    }
Note: See TracChangeset for help on using the changeset viewer.