extract gzip files

Mark Brethen mark.brethen at gmail.com
Fri Nov 30 14:43:34 UTC 2018


I can override the extract phase and use a foreach block with something like this:

STEM=$(basename "${f}" .gz)
  gzip -c "${f}” >${extract_dir}/"${STEM}”


Mark Brethen
mark.brethen at gmail.com



> On Nov 30, 2018, at 8:13 AM, Mark Brethen <mark.brethen at gmail.com> wrote:
> 
> For *.gz files (no tar), what’s the proper way to extract them to extract_dir? 
> 
> 
> 
> 
> Mark Brethen
> mark.brethen at gmail.com
> 
> 
> 



More information about the macports-dev mailing list