On 30.11.18 18:09, Mark Brethen wrote: > This doesn’t work: > > extract.suffix = .gz > extract.cmd = gunzip > extract.pre_args = -c > extract.post_args = "> ${workpath}"
This cannot work as ${workpath} is a directory and you cannot redirect output to a directory, you would have to specify a regular file. Can you rely on the extracted filename that is stored in the .gz? Then most extract options can be left on the default values: extract.pre_args -d extract.post_args extract.mkdir yes By default, the extract command will be executed inside extract.dir, which would be ${workpath}. The extract.mkdir option will create ${worksrcpath} first and extract to the new directory. This should simplifies the following configure/build/destroot commands that will be executed in ${worksrcpath} by default. Rainer