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

Hesham ALMatary heshamelmatary at gmail.com
Thu Aug 28 17:14:05 UTC 2014


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



More information about the devel mailing list