Changeset 182


Ignore:
Timestamp:
Jan 20, 2018, 12:53:18 AM (3 years ago)
Author:
g7moreau
Message:
  • Add acronym in zip folder root name
File:
1 edited

Legend:

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

    r181 r182  
    183183      if (-d $dataset) {
    184184         # Folder case
    185          $zip->addTree($dataset, "$dataset");
     185         $zip->addTree($dataset, "$acronym/$dataset");
    186186         }
    187187      elsif (-f $dataset) {
    188188         # File case
    189          $zip->addFile($dataset);
     189         $zip->addFile(filename => $dataset, zipName => "$acronym/$dataset");
    190190         }
    191191      else {
Note: See TracChangeset for help on using the changeset viewer.