chiark / gitweb /
Print files we're rsyncinging
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 3 Jul 2009 17:08:22 +0000 (18:08 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Fri, 3 Jul 2009 17:08:22 +0000 (18:08 +0100)
pctb/convert.c

index 61901a5..6f40f94 100644 (file)
@@ -124,6 +124,8 @@ void fetch_with_rsync(const char *stem) {
     const char *src= getenv("YPPSC_PCTB_DICT_UPDATE");
     char *remote= masprintf("%s/master-%s.txt", src, stem);
     char *local= masprintf("#master-%s#.txt", stem);
+    if (DEBUGP(rsync))
+      fprintf(stderr,"executing rsync to fetch %s to %s\n",remote,local);
     execlp(rsync, "rsync",
           DEBUGP(rsync) ? "-vLt" : "-Lt",
           "--",remote,local,(char*)0);