Support *.TAR.gz extension. (#7973)

This commit is contained in:
健美猫 2018-05-06 22:34:16 +08:00 committed by Adam J. Stewart
parent 17ce5fd912
commit c451644f12

View file

@ -28,7 +28,7 @@
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