[PATCH] fix install-strip target in Makefile

Greg Louis glouis at dynamicro.on.ca
Wed Mar 13 23:03:53 EST 2002


On 20020313 (Wed) at 0652:35 -0500, Greg Louis wrote:
> The first patch will make "make install-strip" work.  The second spends
> a few cycles avoiding "1 files to consider."  Both are trivial but IMHO
> useful.

Sorry.  For 2.5.4 the second hunk should have been

--- flist.c~	Wed Mar 13 06:45:36 2002
+++ flist.c	Wed Mar 13 06:45:36 2002
@@ -101,7 +101,8 @@
 {
 	if (do_progress) {
 		/* This overwrites the progress line */
-		rprintf(FINFO, "%d files to consider\n", flist->count);
+		rprintf(FINFO, "%d file%sto consider\n",
+		    flist->count, flist->count==1?" ":"s ");
 	} else
 		rprintf(FINFO, "done\n");
 }


-- 
| G r e g  L o u i s          | gpg public key:      |
|   http://www.bgl.nu/~glouis |   finger greg at bgl.nu |




More information about the rsync mailing list