diff options
author | Brett Porter <brett@apache.org> | 2007-07-30 05:28:52 +0000 |
---|---|---|
committer | Brett Porter <brett@apache.org> | 2007-07-30 05:28:52 +0000 |
commit | 241188dc3c5eaefbfba139aaa16e138a35512bcd (patch) | |
tree | ef0ba5133998af1067ec3e4333ee206e0c314d86 /maven-meeper | |
parent | f5f4a227e19a9cf097debde291722b360f6eee25 (diff) | |
download | archiva-241188dc3c5eaefbfba139aaa16e138a35512bcd.tar.gz archiva-241188dc3c5eaefbfba139aaa16e138a35512bcd.zip |
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
Diffstat (limited to 'maven-meeper')
-rwxr-xr-x | maven-meeper/src/bin/synchronize/syncopate/sync | 18 |
1 files changed, 11 insertions, 7 deletions
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 "<tr>" . "\n"; - print REPORT "<tr>" . "\n"; - - print REPORT "<td>" . $details[1] . "</td>" . "\n"; + print REPORT "<td>" . $details[1] . "</td>" . "\n"; - print REPORT "<td>" . $details[2] . "</td>" . "\n"; + print REPORT "<td>" . $details[2] . "</td>" . "\n"; - print REPORT "<td>" . $details[3] . " " . $details[4] . "</td>" . "\n"; + print REPORT "<td>" . $details[3] . " " . $details[4] . "</td>" . "\n"; - print REPORT "</tr>" . "\n"; + print REPORT "</tr>" . "\n"; - $sendMail = 1; + $sendMail = 1; + } } else { |