[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[lintian] 04/05: c/debhelper.pm: Apply perltidy



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

nthykier pushed a commit to branch master
in repository lintian.

commit f388196d071fc1dd7930cb25f0a11b9c82458553
Author: Niels Thykier <niels@thykier.net>
Date:   Sat Dec 19 22:40:30 2015 +0000

    c/debhelper.pm: Apply perltidy
    
    Signed-off-by: Niels Thykier <niels@thykier.net>
---
 checks/debhelper.pm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/checks/debhelper.pm b/checks/debhelper.pm
index a896eb9..21150fa 100644
--- a/checks/debhelper.pm
+++ b/checks/debhelper.pm
@@ -502,9 +502,9 @@ sub _check_dh_exec {
         $dhe_filter = 1 if /\[[^\]]+\]/;
         $dhe_filter = 1 if /<[^>]+>/;
 
-        if (/^usr\/lib\/\$\{([^\}]+)\}\/?$/ ||
-            /^usr\/lib\/\$\{([^\}]+)\}\/?\s+\/usr\/lib\/\$\{([^\}]+)\}\/?$/ ||
-            /^usr\/lib\/\$\{([^\}]+)\}[^\s]+$/) {
+        if (  /^usr\/lib\/\$\{([^\}]+)\}\/?$/
+            ||/^usr\/lib\/\$\{([^\}]+)\}\/?\s+\/usr\/lib\/\$\{([^\}]+)\}\/?$/
+            ||/^usr\/lib\/\$\{([^\}]+)\}[^\s]+$/) {
             my $sv = $1;
             my $dv = $2;
             my $dhe_useless = 0;
@@ -524,7 +524,7 @@ sub _check_dh_exec {
             }
             if ($dhe_useless) {
                 my $form = $_;
-                chomp ($form);
+                chomp($form);
                 $form = "\"$form\"";
                 tag 'dh-exec-useless-usage', $path, $form;
             }

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


Reply to: