[libinline-java-perl] 40/398: *** empty log message ***

Jonas Smedegaard dr at jones.dk
Thu Feb 26 11:42:42 UTC 2015


This is an automated email from the git hooks/post-receive script.

js pushed a commit to tag 0.55
in repository libinline-java-perl.

commit 074fa6f910dec1aa4384458fdfacde6b41c9c753
Author: patrick <>
Date:   Mon Mar 19 19:48:57 2001 +0000

    *** empty log message ***
---
 Java.pm | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/Java.pm b/Java.pm
index 8f7a914..a2e9ced 100644
--- a/Java.pm
+++ b/Java.pm
@@ -271,16 +271,19 @@ sub find_file_in_path {
 				}
 			}
 
+			my $found = 0 ;
 			foreach my $file (@{$files}){
 				my $f = "$p/$file" ;
 				debug("  candidate: $f\n") ;
 
 				if (-f $f){
 					debug("  found file $file in $p") ;
-
-					return $p ;
+					$found++ ;
 				}
 			}
+			if ($found == scalar(@{$files})){	
+				return $p ;
+			}
 		}
 	}
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libinline-java-perl.git



More information about the Pkg-perl-cvs-commits mailing list