summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZenWalker <[email protected]>2016-05-17 20:47:10 +0200
committerZenWalker <[email protected]>2016-05-17 20:47:10 +0200
commit07323a62e149a3f9235f44615e0c4cd3b211fb56 (patch)
treebd0b5a4ef9d0b4241d869363da889437fc812724
parentdf9d7f1c4bdada81866890260a1742435951acec (diff)
downloadengrampa-07323a62e149a3f9235f44615e0c4cd3b211fb56.tar.bz2
engrampa-07323a62e149a3f9235f44615e0c4cd3b211fb56.tar.xz
tar: Fixed problems with backslashes
Fixes #79
-rw-r--r--src/fr-command-tar.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fr-command-tar.c b/src/fr-command-tar.c
index b870ec5..d52964c 100644
--- a/src/fr-command-tar.c
+++ b/src/fr-command-tar.c
@@ -331,6 +331,7 @@ fr_command_tar_add (FrCommand *comm,
if (! recursive)
fr_process_add_arg (comm->process, "--no-recursion");
fr_process_add_arg (comm->process, "--no-wildcards");
+ fr_process_add_arg (comm->process, "--no-unquote");
fr_process_add_arg (comm->process, "-v");
fr_process_add_arg (comm->process, "-p");
@@ -401,6 +402,7 @@ fr_command_tar_delete (FrCommand *comm,
fr_process_set_begin_func (comm->process, begin_func__delete, comm);
fr_process_add_arg (comm->process, "--force-local");
fr_process_add_arg (comm->process, "--no-wildcards");
+ fr_process_add_arg (comm->process, "--no-unquote");
fr_process_add_arg (comm->process, "-v");
fr_process_add_arg (comm->process, "--delete");
fr_process_add_arg (comm->process, "-f");
@@ -448,6 +450,7 @@ fr_command_tar_extract (FrCommand *comm,
begin_tar_command (comm);
fr_process_add_arg (comm->process, "--force-local");
fr_process_add_arg (comm->process, "--no-wildcards");
+ fr_process_add_arg (comm->process, "--no-unquote");
fr_process_add_arg (comm->process, "-v");
fr_process_add_arg (comm->process, "-p");