From c828f17d2f725309ab1f98195d0262dc4452f9b2 Mon Sep 17 00:00:00 2001 From: Nick Bebout Date: Sat, 12 Mar 2011 02:40:54 +0000 Subject: [PATCH] 1.6 --- ChangeLog | 12 ++++++++---- Makefile | 7 +++++-- README | 4 ++-- VERSION | 1 + imapsync | 8 +++++--- 5 files changed, 21 insertions(+), 11 deletions(-) create mode 100644 VERSION diff --git a/ChangeLog b/ChangeLog index 20fe6cf..a54eb3f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,17 +1,21 @@ RCS file: RCS/imapsync,v Working file: imapsync -head: 1.5 +head: 1.6 branch: locks: strict - gilles: 1.5 + gilles: 1.6 access list: symbolic names: keyword substitution: kv -total revisions: 5; selected revisions: 5 +total revisions: 6; selected revisions: 6 description: ---------------------------- -revision 1.5 locked by: gilles; +revision 1.6 locked by: gilles; +date: 2003/03/14 02:17:24; author: gilles; state: Exp; lines: +5 -3 +Added positive exit if errors occurred. +---------------------------- +revision 1.5 date: 2003/03/14 01:20:37; author: gilles; state: Exp; lines: +14 -6 Better debug output. ---------------------------- diff --git a/Makefile b/Makefile index 8291e50..87737a4 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ -# $Id: Makefile,v 1.1 2003/03/12 23:14:02 gilles Exp gilles $ +# $Id: Makefile,v 1.2 2003/03/14 02:25:27 gilles Exp gilles $ TARGET=imapsync @@ -14,7 +14,7 @@ usage: @echo make testv # run tests verbosely @echo make all -all: test ChangeLog README +all: test ChangeLog README VERSION .PHONY: test testp testf @@ -38,6 +38,9 @@ ChangeLog: $(TARGET) README: $(TARGET) perldoc -t $(TARGET) > README +VERSION: $(TARGET) Makefile + ./$(TARGET) --version > VERSION + .PHONY: clean clean_tilde clean_test clean: clean_tilde clean_test diff --git a/README b/README index 0f706c5..c87014b 100644 --- a/README +++ b/README @@ -1,7 +1,7 @@ NAME imapsync - synchronize mailboxes between two imap servers. - $Revision: 1.5 $ + $Revision: 1.6 $ INSTALL Get imapsync at http://www.linux-france.org/prj/imapsync/dist/ @@ -89,5 +89,5 @@ BUGS SIMILAR SOFTWARES None known. Feedback will be welcome. - $Id: imapsync,v 1.5 2003/03/14 01:20:37 gilles Exp gilles $ + $Id: imapsync,v 1.6 2003/03/14 02:17:24 gilles Exp gilles $ diff --git a/VERSION b/VERSION new file mode 100644 index 0000000..810ee4e --- /dev/null +++ b/VERSION @@ -0,0 +1 @@ +1.6 diff --git a/imapsync b/imapsync index d0cfa88..59dd7e6 100755 --- a/imapsync +++ b/imapsync @@ -4,7 +4,7 @@ imapsync - synchronize mailboxes between two imap servers. -$Revision: 1.5 $ +$Revision: 1.6 $ =head1 INSTALL @@ -110,7 +110,7 @@ Report any bugs to the author: lamiral@linux-france.org None known. Feedback will be welcome. -$Id: imapsync,v 1.5 2003/03/14 01:20:37 gilles Exp gilles $ +$Id: imapsync,v 1.6 2003/03/14 02:17:24 gilles Exp gilles $ =cut @@ -135,7 +135,7 @@ my( use vars qw ($opt_G); # missing code for this will be option. -$rcs = ' $Id: imapsync,v 1.5 2003/03/14 01:20:37 gilles Exp gilles $ '; +$rcs = ' $Id: imapsync,v 1.6 2003/03/14 02:17:24 gilles Exp gilles $ '; $rcs =~ m/,v (\d+\.\d+)/; $VERSION = ($1) ? $1 : "UNKNOWN"; $error=0; @@ -346,6 +346,8 @@ sub header_parse { stats(); +exit(1) if($error); + sub stats { print "Detected $error errors\n";