[oe-commits] org.oe.dev base.bbclass: Add .tbz2 besides .tbz and .tar.bz2

likewise commit openembedded-commits at lists.openembedded.org
Sat Mar 1 12:17:20 UTC 2008


base.bbclass: Add .tbz2 besides .tbz and .tar.bz2

Author: likewise at openembedded.org
Branch: org.openembedded.dev
Revision: 7cd9ecb19c7875722a0db88e3756cf14030583ef
ViewMTN: http://monotone.openembedded.org/revision/info/7cd9ecb19c7875722a0db88e3756cf14030583ef
Files:
1
classes/base.bbclass
Diffs:

#
# mt diff -re59bb6421b1fc172baaf3ce9670eead297e0ad5d -r7cd9ecb19c7875722a0db88e3756cf14030583ef
#
# 
# 
# patch "classes/base.bbclass"
#  from [cb47f4951ca60041e077ae00509c54961b54d573]
#    to [b37f42836fc2adcb03d14179319ac508313a2b86]
# 
============================================================
--- classes/base.bbclass	cb47f4951ca60041e077ae00509c54961b54d573
+++ classes/base.bbclass	b37f42836fc2adcb03d14179319ac508313a2b86
@@ -544,7 +544,7 @@ def oe_unpack_file(file, data, url = Non
 		cmd = 'tar x --no-same-owner -f %s' % file
 	elif file.endswith('.tgz') or file.endswith('.tar.gz') or file.endswith('.tar.Z'):
 		cmd = 'tar xz --no-same-owner -f %s' % file
-	elif file.endswith('.tbz') or file.endswith('.tar.bz2'):
+	elif file.endswith('.tbz') or file.endswith('.tbz2') or file.endswith('.tar.bz2'):
 		cmd = 'bzip2 -dc %s | tar x --no-same-owner -f -' % file
 	elif file.endswith('.gz') or file.endswith('.Z') or file.endswith('.z'):
 		cmd = 'gzip -dc %s > %s' % (file, efile)






More information about the Openembedded-commits mailing list