summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHesham ALMatary <heshamelmatary@gmail.com>2014-08-28 19:14:05 +0200
committerChris Johns <chrisj@rtems.org>2014-08-29 11:51:24 +1000
commite7a6292cb590ec5629abaa94e17a38bd6a368ad1 (patch)
tree85098b54334a6db68b0f2b3d80235e6a5e34c7ab
parent2b4cd57ed84f53aebe3f62d284b4ab4a8abeacec (diff)
downloadrtems-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.py2
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'