From e7a6292cb590ec5629abaa94e17a38bd6a368ad1 Mon Sep 17 00:00:00 2001 From: Hesham ALMatary Date: Thu, 28 Aug 2014 19:14:05 +0200 Subject: 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. --- 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' -- cgit v1.2.3