Changeset 171


Ignore:
Timestamp:
Jan 19, 2018, 5:34:44 PM (3 years ago)
Author:
g7moreau
Message:
  • Try to better catch folder
File:
1 edited

Legend:

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

    r169 r171  
    106106   
    107107   $folder =~ s{/[^/]+$}{};
     108   
     109   return if $folder !~ m{/};
     110
    108111   $folderdb->{$folder}++;
    109 
    110    addfolder2list($folderdb, $folder) if $folder =~ m{/};
     112   return addfolder2list($folderdb, $folder);
    111113   }
    112114
     
    142144         }
    143145
     146      }
    144147   print "chmod -R o+rX,o-w $dap_folder/$acronym/\n";
    145       }
    146148   }
    147149
     
    237239      print "Warning: update COPYRIGHT.txt\n";
    238240      }
    239 
     241   
    240242   my $tt = Template->new(INCLUDE_PATH => '/usr/share/project-meta/template.d');
    241243   my $msg_format = '';
     
    248250         licence     => $meta->{'public-dap'}{'data-licence'},
    249251         doi         => $meta->{'publication'}{'doi'},
    250          urldoi      => $meta->{'publication'}{'url'},
    251252      }, \$msg_format) || die $tt->error;
    252253
     
    342343
    343344
     345=head1 BUG
     346
     347 - make-link: folder/folder
     348 - make-link: support multiple doi
     349 - metafile: remove prop publication/url
     350
    344351=head1 SEE ALSO
    345352
Note: See TracChangeset for help on using the changeset viewer.