[SCM] UNNAMED PROJECT branch, master, updated. 0.30-42-ge98ba87

Niels Thykier nthykier-guest at alioth.debian.org
Mon Jul 5 14:38:08 UTC 2010


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "UNNAMED PROJECT".

The branch, master has been updated
       via  e98ba87ac6969eb6d1808481f8fe2ceab7a44761 (commit)
      from  e7ba1c14bcab6b9c26815815a98cd93a77fbc67e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit e98ba87ac6969eb6d1808481f8fe2ceab7a44761
Author: Niels Thykier <niels at thykier.net>
Date:   Mon Jul 5 16:34:08 2010 +0200

    jh_scanjavadoc: ignore links that do not lead to a package-list.

-----------------------------------------------------------------------

Summary of changes:
 jh_scanjavadoc |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/jh_scanjavadoc b/jh_scanjavadoc
index 7edfbb1..28a9286 100755
--- a/jh_scanjavadoc
+++ b/jh_scanjavadoc
@@ -11,8 +11,9 @@ use Debian::Javahelper::Java;
 my @dep = ();
 
 foreach my $doclink ( map { scan_javadoc($_) } @ARGV){
-     $doclink = "$doclink/package-list" unless ( -l $doclink);
-     push(@dep, $doclink);
+    next unless ( -f "$doclink/package-list" );
+    $doclink = "$doclink/package-list" unless ( -l $doclink);
+    push(@dep, $doclink);
 }
 
 print join(", ", find_package_for_existing_files(@dep)), "\n" if(@dep);


hooks/post-receive
-- 
UNNAMED PROJECT



More information about the pkg-java-commits mailing list