summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/cmd/create.py2
-rw-r--r--lib/spack/spack/util/compression.py1
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/spack/spack/cmd/create.py b/lib/spack/spack/cmd/create.py
index 79825264e6..bee75cec4b 100644
--- a/lib/spack/spack/cmd/create.py
+++ b/lib/spack/spack/cmd/create.py
@@ -314,7 +314,7 @@ class BuildSystemGuesser(object):
if stage.archive_file.endswith('.zip'):
try:
unzip = which('unzip')
- output = unzip('-l', stage.archive_file, output=str)
+ output = unzip('-lq', stage.archive_file, output=str)
except:
output = ''
else:
diff --git a/lib/spack/spack/util/compression.py b/lib/spack/spack/util/compression.py
index 806465dc4e..caec70064d 100644
--- a/lib/spack/spack/util/compression.py
+++ b/lib/spack/spack/util/compression.py
@@ -45,6 +45,7 @@ def decompressor_for(path, extension=None):
if ((extension and re.match(r'\.?zip$', extension)) or
path.endswith('.zip')):
unzip = which('unzip', required=True)
+ unzip.add_default_arg('-q')
return unzip
if extension and re.match(r'gz', extension):
gunzip = which('gunzip', required=True)