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

[lintian] 01/01: t/runtests: Fix perlcritic warning



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

nthykier pushed a commit to branch master
in repository lintian.

commit c553b185572a86dc48e087c5d5cd379d1abe8053
Author: Niels Thykier <niels@thykier.net>
Date:   Sat Apr 9 11:09:30 2016 +0000

    t/runtests: Fix perlcritic warning
    
    Signed-off-by: Niels Thykier <niels@thykier.net>
---
 t/runtests | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/t/runtests b/t/runtests
index ffec313..00f85f6 100755
--- a/t/runtests
+++ b/t/runtests
@@ -367,7 +367,7 @@ sub test_package {
                 "$origdir/upstream/",$targetdir);
 
             foreach my $tfile (@{ $TEMPLATES{$suite} }) {
-                if (!-e "$targetdir/$tfile" and -f "$targetdir/${tfile}.in") {
+                if (!-e "$targetdir/$tfile" && -f "$targetdir/${tfile}.in") {
                     fill_in_tmpl("$targetdir/$tfile", $testdata);
                     unlink("$targetdir/${tfile}.in");
                     $regen_template{$tfile} = 1;

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


Reply to: