Skip to content
Snippets Groups Projects
Commit 730cd0e6 authored by Martin Kühl's avatar Martin Kühl Committed by Adam Vandenberg
Browse files

Let the `gzip` utility function accept multiple paths.

parent 389fdec9
No related branches found
No related tags found
No related merge requests found
......@@ -165,9 +165,11 @@ def exec_editor *args
end
# GZips the given path, and returns the gzipped file
def gzip path
system "/usr/bin/gzip", path
return Pathname.new(path+".gz")
def gzip *paths
paths.collect do |path|
system "/usr/bin/gzip", path
Pathname.new(path+".gz")
end
end
module ArchitectureListExtension
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment