Changeset 174


Ignore:
Timestamp:
Jan 19, 2018, 6:00:14 PM (3 years ago)
Author:
g7moreau
Message:
  • Force add AUTHORS and orther special files
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/project-meta/project-meta

    r172 r174  
    120120   my $current_dir = Cwd::getcwd();
    121121   my $dap_folder = $meta->{'public-dap'}{'dap-folder'};
     122
     123   push @{$dap_folder}, 'AUTHORS.txt', 'COPYRIGHT.txt', 'LICENCE.txt';
     124   {
     125      # Remove doublon
     126      my %seen = ();
     127      @{$dap_folder} = grep { ! $seen{$_}++ } @{$dap_folder};
     128      }
    122129
    123130   # Create a list of the folder
Note: See TracChangeset for help on using the changeset viewer.