[rtems-source-builder commit] Fix bug of uncompressing zip files.
Chris Johns
chrisj at rtems.org
Fri Aug 29 01:43:10 UTC 2014
Module: rtems-source-builder
Branch: master
Commit: e7a6292cb590ec5629abaa94e17a38bd6a368ad1
Changeset: http://git.rtems.org/rtems-source-builder/commit/?id=e7a6292cb590ec5629abaa94e17a38bd6a368ad1
Author: Hesham ALMatary <heshamelmatary at gmail.com>
Date: Thu Aug 28 19:14:05 2014 +0200
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 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'
More information about the vc
mailing list