summaryrefslogtreecommitdiffstats
path: root/archivers/xarchiver/files/patch-src_bzip2.c
blob: 4471a049a32868a1886b9b7f782ea276ea691649 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- src/bzip2.c.orig	2014-02-09 15:26:24 UTC
+++ src/bzip2.c
@@ -171,11 +171,11 @@ void xa_open_tar_compressed_file(XArchiv
 	if (archive->type == XARCHIVETYPE_TAR_BZ2)
 		command = g_strconcat(tar," tfjv ",archive->escaped_path,NULL);
 	else if (archive->type == XARCHIVETYPE_TAR_LZMA)
-		command = g_strconcat(tar," tv --use-compress-program=lzma -f ",archive->escaped_path,NULL);
+		command = g_strconcat(tar," tv --use-compress-program='lzma -d' -f ",archive->escaped_path,NULL);
 	else if (archive->type == XARCHIVETYPE_TAR_XZ)
-		command = g_strconcat(tar," tv --use-compress-program=xz -f ",archive->escaped_path,NULL);
+		command = g_strconcat(tar," tv --use-compress-program='xz -d' -f ",archive->escaped_path,NULL);
 	else if (archive->type == XARCHIVETYPE_TAR_LZOP)
-		command = g_strconcat(tar," tv --use-compress-program=lzop -f ",archive->escaped_path,NULL);
+		command = g_strconcat(tar," tv --use-compress-program='lzop -d' -f ",archive->escaped_path,NULL);
 	/* else fail? */
 
 	archive->has_properties = archive->can_add = archive->can_extract = archive->has_test = TRUE;
OpenPOWER on IntegriCloud