mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 09:36:19 -05:00
Merge pull request #3230 from jamielinux/gzip-k
Avoid gzip "-k" option for wider OS compatibility
This commit is contained in:
commit
ff842758e1
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ end
|
|||
|
||||
def gzip(path)
|
||||
STDERR.puts "gzip #{path}"
|
||||
STDERR.puts `gzip -f -k -9 #{path}`
|
||||
STDERR.puts `gzip -f -c -9 #{path} > #{path}.gz`
|
||||
end
|
||||
|
||||
def compress(from,to)
|
||||
|
|
Loading…
Reference in a new issue