[debhelper-devel] [debhelper] 01/01: dh_update_autotools_config: Break loop early on match

Niels Thykier nthykier at moszumanska.debian.org
Sat Sep 2 05:09:22 UTC 2017


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

nthykier pushed a commit to branch master
in repository debhelper.

commit 977a58bc51847e2c2807abae5ac16e36aba6831e
Author: Niels Thykier <niels at thykier.net>
Date:   Sat Sep 2 05:08:30 2017 +0000

    dh_update_autotools_config: Break loop early on match
    
    Signed-off-by: Niels Thykier <niels at thykier.net>
---
 dh_update_autotools_config | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dh_update_autotools_config b/dh_update_autotools_config
index be1e51f..7c28bce 100755
--- a/dh_update_autotools_config
+++ b/dh_update_autotools_config
@@ -60,6 +60,7 @@ sub is_autotools_config_file {
 			# they do have these headers (which even new files also
 			# have).
 			$is_autoconf_file = 1;
+			last;
 		}
 		last if $. >= 10;
 	}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debhelper/debhelper.git




More information about the debhelper-devel mailing list