chiark / gitweb /
Print that we are updating for every rsync
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 9 Jul 2009 16:48:19 +0000 (17:48 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Thu, 9 Jul 2009 16:48:19 +0000 (17:48 +0100)
pctb/convert.c
pctb/ocr.c

index 6bc9b2c..df0497e 100644 (file)
@@ -119,6 +119,8 @@ static void rsync_core(const char *stem, const char *suffix,
                       const char *zopt) {
   pid_t fetcher;
 
+  progress("Updating dictionary %s...",stem);
+
   sysassert( (fetcher= fork()) != -1 );
   if (!fetcher) {
     const char *rsync= getenv("YPPSC_PCTB_RSYNC");
index 37ca7d2..f7cb450 100644 (file)
@@ -597,7 +597,6 @@ OcrReader *ocr_init(int h) {
 
   if (o_flags & ff_dict_fetch) {
     char *fetchfile= masprintf("char%d",h);
-    progress("Updating %s...",fetchfile);
     fetch_with_rsync(fetchfile);
     free(fetchfile);
   }