Changeset 25814


Ignore:
Timestamp:
2012-06-26T10:51:54+12:00 (9 years ago)
Author:
jmt12
Message:

Added extra test to prevent warning when block_hash's manifest varaible not defined

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs2-extensions/parallel-building/trunk/src/perllib/plugins/DirectoryPlugin.pm

    r25114 r25814  
    650650        # have been handled above - just in case we have the weird case where
    651651        # a file is both a metadata source and a file in its own right. [jmt12]
    652         if ($block_hash->{'manifest'} eq 'true'
     652        if (defined $block_hash
     653            && defined $block_hash->{'manifest'}
     654            && $block_hash->{'manifest'} eq 'true'
    653655            && !-d $raw_full_filename
    654656            && !$block_hash->{'new_files'}->{$raw_full_filename}
Note: See TracChangeset for help on using the changeset viewer.