[tracker] Fixes NB#181538: Assume tar program is in $PATH



commit 4eb4c56a59c52b7fb4f0a2cb2c4f87e7c6327de0
Author: Aleksander Morgado <aleksander lanedo com>
Date:   Thu Jul 22 19:03:02 2010 +0200

    Fixes NB#181538: Assume tar program is in $PATH

 src/libtracker-data/tracker-data-backup.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-data/tracker-data-backup.c b/src/libtracker-data/tracker-data-backup.c
index a4e8dc2..02a7a2c 100644
--- a/src/libtracker-data/tracker-data-backup.c
+++ b/src/libtracker-data/tracker-data-backup.c
@@ -261,7 +261,7 @@ tracker_data_backup_save (GFile *destination,
 
 	argv = g_new0 (gchar*, files->len + 7);
 
-	argv[0] = g_strdup (TAR);
+	argv[0] = g_strdup ("tar");
 	argv[1] = g_strdup ("-zcf");
 	argv[2] = path;
 	argv[3] = g_strdup ("-C");



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]