This patch uses __unzip macro for uncompressing zip files instead of
the wrong __zip macro which is not defined in defaults.mc file.
---
 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'
-- 
1.9.3

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to