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

[lintian] 02/02: c/lintian: Use foo instead of --foo when calling dplint



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

nthykier pushed a commit to branch master
in repository lintian.

commit 54013176e0f39f926f24e1ebfe97bfd19454836b
Author: Niels Thykier <niels@thykier.net>
Date:   Thu Feb 4 19:58:43 2016 +0000

    c/lintian: Use foo instead of --foo when calling dplint
    
    Signed-off-by: Niels Thykier <niels@thykier.net>
---
 commands/lintian | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/commands/lintian b/commands/lintian
index a1e5cae..8c8a96e 100755
--- a/commands/lintian
+++ b/commands/lintian
@@ -164,7 +164,7 @@ sub lintian_version {
         # Most likely this means we are a git clone or an unpacked
         # source package.  If so, we will use a version that best
         # describes our situation...
-        open(my $fd, '-|', $DPLINT, '--print-version');
+        open(my $fd, '-|', $DPLINT, 'print-version');
         chomp($LINTIAN_VERSION = <$fd>);
         close($fd);
     }

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


Reply to: