[debhelper-devel] [debhelper] 01/01: dh_missing: Use explicit glob

Niels Thykier nthykier at moszumanska.debian.org
Sat Dec 30 09:21:59 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 6867e8928f8279cdf9c1d41e27a8ab3597947d94
Author: Niels Thykier <niels at thykier.net>
Date:   Sat Dec 30 09:19:58 2017 +0000

    dh_missing: Use explicit glob
    
    The implicit one confuses some syntax highlighers as they start to
    read the slashes as a regex.
    
    Signed-off-by: Niels Thykier <niels at thykier.net>
---
 dh_missing | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dh_missing b/dh_missing
index 2f9e029..a25cd20 100755
--- a/dh_missing
+++ b/dh_missing
@@ -107,7 +107,7 @@ if (! -d $srcdir) {
 	}
 }
 
-for my $file (<debian/.debhelper/generated/*/installed-by-*>) {
+for my $file (glob('debian/.debhelper/generated/*/installed-by-*')) {
 	my ($target_pkg, $helper) = ('unknown', 'unknown');
 	my $had_files = 0;
 	my %seen;

-- 
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