diff options
author | 健美猫 <weijianwen@gmail.com> | 2018-05-06 22:34:16 +0800 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2018-05-06 09:34:16 -0500 |
commit | c451644f12b56d43b89bfe61aa82eec8781f25d8 (patch) | |
tree | 1e1517e4188ae03c29c02c57cea92c73f44fde1e | |
parent | 17ce5fd91283cb0cc05376083e5f6b2db78805b1 (diff) | |
download | spack-c451644f12b56d43b89bfe61aa82eec8781f25d8.tar.gz spack-c451644f12b56d43b89bfe61aa82eec8781f25d8.tar.bz2 spack-c451644f12b56d43b89bfe61aa82eec8781f25d8.tar.xz spack-c451644f12b56d43b89bfe61aa82eec8781f25d8.zip |
Support *.TAR.gz extension. (#7973)
-rw-r--r-- | lib/spack/spack/util/compression.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/util/compression.py b/lib/spack/spack/util/compression.py index 0c427ab50c..7c530929ad 100644 --- a/lib/spack/spack/util/compression.py +++ b/lib/spack/spack/util/compression.py @@ -28,7 +28,7 @@ from itertools import product from spack.util.executable import which # Supported archive extensions. -PRE_EXTS = ["tar"] +PRE_EXTS = ["tar", "TAR"] EXTS = ["gz", "bz2", "xz", "Z", "zip", "tgz"] # Add PRE_EXTS and EXTS last so that .tar.gz is matched *before* .tar or .gz |