Changeset 2495


Ignore:
Timestamp:
2001-06-05T16:13:12+12:00 (23 years ago)
Author:
sjboddie
Message:

Fixed a bug (again) that prevented the collector from being able to build
a collection where the input was type file:// and pointed to a single
document rather than a directory. This bug was fixed some time ago but
the fix got lost when I made some changes to prevent possible infinite
recursion problems.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/bin/script/filecopy.pl

    r2263 r2495  
    9494        my $dst_file = &get_dst_dir ($full_importname, $file);
    9595
     96        # make sure files directory is included in dirhash
     97        $dirhash->{File::Basename::dirname($dst_file)} = 1;
     98
    9699        if (-e $dst_file) {
    97100        # if destination file exists already we'll only copy it if
Note: See TracChangeset for help on using the changeset viewer.