Changeset 25814

Show
Ignore:
Timestamp:
26.06.2012 10:51:54 (7 years ago)
Author:
jmt12
Message:

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

Files:
1 modified

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}