*** empty log message *** v1.6.9
authorAndrew Tridgell <tridge@samba.org>
Tue, 13 Jan 1998 19:25:59 +0000 (19:25 +0000)
committerAndrew Tridgell <tridge@samba.org>
Tue, 13 Jan 1998 19:25:59 +0000 (19:25 +0000)
Makefile.in
rsync.c

index aecfd835ce84dadd38b39c982cefa4a257393df9..ce49f9769ea0f8e4c94e37a5d0ade55ebce43d2e 100644 (file)
@@ -30,7 +30,9 @@ OBJS=$(OBJS1) flist.o io.o compat.o hlink.o token.o uidlist.o $(LIBOBJ)
 all: rsync
 
 install: all
+       -mkdir -p ${INSTALL_BIN}
        ${INSTALLCMD} -m 755 rsync ${INSTALL_BIN}
+       -mkdir -p ${INSTALL_MAN}/man1
        ${INSTALLCMD} -m 644 $(srcdir)/rsync.1 ${INSTALL_MAN}/man1
 
 rsync: $(OBJS)
diff --git a/rsync.c b/rsync.c
index ea15ac8402d33024186c69d5076c4ce93cc78823..682b2c4e596ae4f736c788624c82740567cd9514 100644 (file)
--- a/rsync.c
+++ b/rsync.c
@@ -406,7 +406,7 @@ void recv_generator(char *fname,struct file_list *flist,int i,int f_out)
     return;
   }
 
-  if (update_only && st.st_mtime >= file->modtime) {
+  if (update_only && st.st_mtime > file->modtime) {
     if (verbose > 1)
       fprintf(FERROR,"%s is newer\n",fname);
     return;