X-Git-Url: https://git.gag.com/?p=debian%2Famanda;a=blobdiff_plain;f=client-src%2Fsendbackup-gnutar.c;h=0ef79374d6a6fa7b8b553fcb1d6448ac188f18d3;hp=b1bda6d060cbd4b6dbe29366ef1b2a8e0324f898;hb=34197d9f46a5f4e944378cbb65fca32ee0eec7b9;hpb=71325c297e0436e9930a3e129a26696e78c27f62 diff --git a/client-src/sendbackup-gnutar.c b/client-src/sendbackup-gnutar.c index b1bda6d..0ef7937 100644 --- a/client-src/sendbackup-gnutar.c +++ b/client-src/sendbackup-gnutar.c @@ -24,7 +24,7 @@ * file named AUTHORS, in the root directory of this distribution. */ /* - * $Id: sendbackup-gnutar.c,v 1.98 2006/07/25 18:35:21 martinea Exp $ + * $Id: sendbackup-gnutar.c,v 1.98.2.1 2006/11/24 18:10:38 martinea Exp $ * * send backup data using GNU tar */ @@ -360,12 +360,13 @@ start_backup( cur_dumptime = time(0); cur_level = level; cur_disk = stralloc(disk); - indexcmd = vstralloc( #ifdef GNUTAR - GNUTAR, +# define PROGRAM_GNUTAR GNUTAR #else - "tar", +# define PROGRAM_GNUTAR "tar" #endif + indexcmd = vstralloc( + PROGRAM_GNUTAR, " -tf", " -", " 2>/dev/null", " | sed", " -e",