FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 08-20-2012, 01:36 PM
Sedat Dilek
 
Default Support to extract upstream xz-compressed tarballs

Signed-off-by: Sedat Dilek <sedat.dilek@gmail.com>
---
debian/bin/genorig.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/bin/genorig.py b/debian/bin/genorig.py
index 30a2e75..856d5eb 100755
--- a/debian/bin/genorig.py
+++ b/debian/bin/genorig.py
@@ -102,7 +102,7 @@ class Main(object):

def upstream_extract(self, input_tar):
self.log("Extracting tarball %s
" % input_tar)
- match = re.match(r'(^|.*/)(?P<dir>linux-d+.d+(.d+)?(-S+)?).tar(.(?P<extension>(bz2|gz)))?$', input_tar)
+ match = re.match(r'(^|.*/)(?P<dir>linux-d+.d+(.d+)?(-S+)?).tar(.(?P<extension>(bz2|gz|xz)))?$', input_tar)
if not match:
raise RuntimeError("Can't identify name of tarball")

--
1.7.10.4


--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 1345469772-5435-1-git-send-email-sedat.dilek@gmail.com">http://lists.debian.org/1345469772-5435-1-git-send-email-sedat.dilek@gmail.com
 

Thread Tools




All times are GMT. The time now is 12:02 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org