henry-container 0.1.20 → 0.1.22
Sign up to get free protection for your applications and to get access to all the features.
@@ -36,11 +36,11 @@ module Henry
|
|
36
36
|
if !(self.generated_reports || []).empty? && !(self.report_recipients || []).empty?
|
37
37
|
tgz_path = ".henry/#{DateTime.now.strftime(TIME_FORMAT)}_#{self.name}.tgz"
|
38
38
|
|
39
|
-
`tar czf #{tgz_path} #{self.generated_reports.join(' ')}`
|
39
|
+
`tar czf "#{tgz_path}" "#{self.generated_reports.join('" "')}"`
|
40
40
|
|
41
41
|
Henry::EmailClient.send_file(tgz_path, self.report_recipients.uniq, "[Henry Reports] #{self.name}")
|
42
42
|
|
43
|
-
`rm #{tgz_path}`
|
43
|
+
`rm "#{tgz_path}"`
|
44
44
|
end
|
45
45
|
|
46
46
|
super
|
@@ -36,11 +36,11 @@ module Henry
|
|
36
36
|
if !(self.generated_reports || []).empty? && !(self.report_recipients || []).empty?
|
37
37
|
tgz_path = ".henry/#{DateTime.now.strftime(TIME_FORMAT)}_#{self.name}.tgz"
|
38
38
|
|
39
|
-
`tar czf #{tgz_path} #{self.generated_reports.join(' ')}`
|
39
|
+
`tar czf "#{tgz_path}" "#{self.generated_reports.join('" "')}"`
|
40
40
|
|
41
41
|
Henry::EmailClient.send_file(tgz_path, self.report_recipients.uniq, "[Henry Reports] #{self.name}")
|
42
42
|
|
43
|
-
`rm #{tgz_path}`
|
43
|
+
`rm "#{tgz_path}"`
|
44
44
|
end
|
45
45
|
|
46
46
|
super
|