bernd / fpm-cookery

A tool for building software packages with fpm.
Other
460 stars 88 forks source link

patch: automatically gunzip gzipped patch files #208

Closed davewongillies closed 5 years ago

davewongillies commented 5 years ago

I'm increasingly building recipes with rather large patch files which I'm having to gzip. Instead of continually adding a safesystem() call to heaps of my recipes to decompress the gzipped patch files, I thought it'd be easier if fpm-cookery did it for me...

I considered using ruby-filemagic to detect the filetype but I didn't want to introduce another dependancy for such a small feature.

Lemme know if this :+1: :-1:

Thanks.