[RSB] [PATCH 1/2] Fix bug of uncompressing zip files.

Chris Johns chrisj at rtems.org
Fri Aug 29 01:53:29 UTC 2014


On 29/08/2014 3:14 am, Hesham ALMatary wrote:
> This patch uses __unzip macro for uncompressing zip files instead of
> the wrong __zip macro which is not defined in defaults.mc file.

Merged. Thank you.

Chris

> ---
>   source-builder/sb/download.py | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/source-builder/sb/download.py b/source-builder/sb/download.py
> index fbf9ce0..fdc834a 100644
> --- a/source-builder/sb/download.py
> +++ b/source-builder/sb/download.py
> @@ -110,7 +110,7 @@ def _http_parser(source, config, opts):
>           source['compressed'] = '%{__bzip2} -dc'
>       elif esl[-1:][0] == 'zip':
>           source['compressed-type'] = 'zip'
> -        source['compressed'] = '%{__zip} -u'
> +        source['compressed'] = '%{__unzip} -u'
>       elif esl[-1:][0] == 'xz':
>           source['compressed-type'] = 'xz'
>           source['compressed'] = '%{__xz} -dc'
>



More information about the devel mailing list