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

[lintian] 02/05: Add -- end of options to md5sums



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

broucaries-guest pushed a commit to branch master
in repository lintian.

commit 8cefdd971c35edf9e61bff43d7eae841bbe15e90
Author: Bastien ROUCARIÈS <roucaries.bastien@gmail.com>
Date:   Mon Jan 6 21:45:14 2014 +0100

    Add -- end of options to md5sums
    
    if file is --lzma it will crash. Fix it by passing -- to md5sums
    
    Signed-off-by: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
---
 collection/md5sums | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/collection/md5sums b/collection/md5sums
index 0c10629..c2ce0c0 100755
--- a/collection/md5sums
+++ b/collection/md5sums
@@ -46,7 +46,7 @@ sub collect {
         fail => 'error'
     );
 
-    spawn(\%opts, ['xargs', '-0r', 'md5sum']);
+    spawn(\%opts, ['xargs', '-0r', 'md5sum','--']);
     $opts{pipe_in}->blocking(1);
 
     foreach my $file ($info->sorted_index) {

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


Reply to: