From 241188dc3c5eaefbfba139aaa16e138a35512bcd Mon Sep 17 00:00:00 2001 From: Brett Porter Date: Mon, 30 Jul 2007 05:28:52 +0000 Subject: don't mail on an innocuous sync git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@560871 13f79535-47bb-0310-9956-ffa450edef68 --- maven-meeper/src/bin/synchronize/syncopate/sync | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'maven-meeper') diff --git a/maven-meeper/src/bin/synchronize/syncopate/sync b/maven-meeper/src/bin/synchronize/syncopate/sync index af682fbe6..204dfbd40 100755 --- a/maven-meeper/src/bin/synchronize/syncopate/sync +++ b/maven-meeper/src/bin/synchronize/syncopate/sync @@ -179,18 +179,22 @@ sub runRsync() if ( /^artifact/ ) { my @details = split; + + # TODO: fix hardcoding + if ( ! ( $details[1] eq "home/maven/repository-staging/to-ibiblio/maven/." ) ) + { + print REPORT "" . "\n"; - print REPORT "" . "\n"; - - print REPORT "" . $details[1] . "" . "\n"; + print REPORT "" . $details[1] . "" . "\n"; - print REPORT "" . $details[2] . "" . "\n"; + print REPORT "" . $details[2] . "" . "\n"; - print REPORT "" . $details[3] . " " . $details[4] . "" . "\n"; + print REPORT "" . $details[3] . " " . $details[4] . "" . "\n"; - print REPORT "" . "\n"; + print REPORT "" . "\n"; - $sendMail = 1; + $sendMail = 1; + } } else { -- cgit v1.2.3