[file-roller/gnome-3-8] error creating 7zip archives for directories without write permission
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [file-roller/gnome-3-8] error creating 7zip archives for directories without write permission
- Date: Sun, 18 Aug 2013 08:20:22 +0000 (UTC)
commit dde55f8a64cd46cd96994bfc57491ea64b5fa7c0
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sun Aug 18 10:18:33 2013 +0200
error creating 7zip archives for directories without write permission
[bug #651494]
src/fr-command-7z.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/fr-command-7z.c b/src/fr-command-7z.c
index 4a5fc65..bb2f2ee 100644
--- a/src/fr-command-7z.c
+++ b/src/fr-command-7z.c
@@ -321,10 +321,8 @@ fr_command_7z_add (FrCommand *command,
else
fr_process_add_arg (command->process, "a");
- if (base_dir != NULL) {
+ if (base_dir != NULL)
fr_process_set_working_dir (command->process, base_dir);
- fr_process_add_arg_concat (command->process, "-w", base_dir, NULL);
- }
if (_g_mime_type_matches (archive->mime_type, "application/zip")
|| _g_mime_type_matches (archive->mime_type, "application/x-cbz"))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]