jianlinwei / theunarchiver

Automatically exported from code.google.com/p/theunarchiver
Other
0 stars 0 forks source link

Inconsistent names for containing directories for tar files with different compression extensions #696

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If unar creates a containing directory for an archive whose name ends with 
.tar.bz2, .tar.gz, or .tar.lzma, the entire extension will be removed from the 
containing directory name.  If the archive name ends with .Z or .xz, only the 
compression extension will be removed.  For example,

 unar -d foo.tar.gz

will create a containing directory named foo, whereas

 unar -d foo.tar.Z

will create a containing directory named foo.tar.  The attached patch makes the 
containing directory name for archives that end with .tar.Z or .tar.xz 
consistent with the other extensions.

Original issue reported on code.google.com by kr...@ftbfs.org on 27 Aug 2013 at 2:26

Attachments:

GoogleCodeExporter commented 9 years ago
Applied.

Original comment by paracel...@gmail.com on 7 Sep 2013 at 8:39