Commit 31ef491b07494c017e15f40afc7032090675449b

Authored by Victor Costa
1 parent 824666dd
Exists in master

Change from tar.gz to zip

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
lib/dialoga_plugin/report_job.rb
... ... @@ -16,8 +16,8 @@ class DialogaPlugin::ReportJob < Struct.new(:profile_id, :report_path)
16 16 end
17 17  
18 18 def compress_files(filename, pattern)
19   - filepath = "/tmp/#{report_path}/#{filename}.tar.gz"
20   - system("cd /tmp/#{report_path} && tar -zcvf #{filepath} #{pattern}")
  19 + filepath = "/tmp/#{report_path}/#{filename}.zip"
  20 + system("cd /tmp/#{report_path} && zip #{filepath} #{pattern}")
21 21 filepath
22 22 end
23 23  
... ...