Changeset 179


Ignore:
Timestamp:
Jan 20, 2018, 12:29:58 AM (7 years ago)
Author:
g7moreau
Message:
  • Replace addDirectory bu addTree
File:
1 edited

Legend:

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

    r178 r179  
    33# 2018/01/17 Gabriel Moreau
    44#
    5 # apt-get install yamllint libyaml-syck-perl libtemplate-perl
     5# apt-get install yamllint libyaml-syck-perl libtemplate-perl libarchive-zip-perl
    66
    77use strict;
     
    184184      if (-d $dataset) {
    185185         # Folder case
    186          $zip->addDirectory($dataset);
     186         $zip->addTree($dataset, "$dataset");
    187187         }
    188188      elsif (-f $dataset) {
     
    191191         }
    192192      else {
    193          # Strange cas
     193         # Strange case
    194194         print "Error: entry $dataset doesn't exists\n";
    195195         }
Note: See TracChangeset for help on using the changeset viewer.