[releng] [convert to tarballs] add support for .xz, remove support for .lzma



commit fee725e3bc7d27b65cd420fd90641cb2000ff692
Author: Frédéric Péters <fpeters 0d be>
Date:   Mon Jun 13 17:44:46 2011 +0200

    [convert to tarballs] add support for .xz, remove support for .lzma

 tools/smoketesting/convert-to-tarballs.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tools/smoketesting/convert-to-tarballs.py b/tools/smoketesting/convert-to-tarballs.py
index 92da49c..d730b32 100755
--- a/tools/smoketesting/convert-to-tarballs.py
+++ b/tools/smoketesting/convert-to-tarballs.py
@@ -426,8 +426,8 @@ class TarballLocator:
         hashfile = newfile + '.' + self.hash_algo + 'sum'
         if newfile.endswith('gz'):
             flags = 'xfzO'
-        elif newfile.endswith('lzma'):
-            flags = 'xfYO'
+        elif newfile.endswith('xz'):
+            flags = 'xfJO'
         else:
             flags = 'xfjO'
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]