diff options
author | Hesham ALMatary <heshamelmatary@gmail.com> | 2014-08-28 19:14:05 +0200 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2014-08-29 11:51:24 +1000 |
commit | e7a6292cb590ec5629abaa94e17a38bd6a368ad1 (patch) | |
tree | 85098b54334a6db68b0f2b3d80235e6a5e34c7ab | |
parent | sb: Fix the if logic for parameters. (diff) | |
download | rtems-source-builder-e7a6292cb590ec5629abaa94e17a38bd6a368ad1.tar.bz2 |
Fix bug of uncompressing zip files.
This patch uses __unzip macro for uncompressing zip files instead of
the wrong __zip macro which is not defined in defaults.mc file.
-rw-r--r-- | source-builder/sb/download.py | 2 |
1 files changed, 1 insertions, 1 deletions
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' |