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

[lintian] 01/01: c/r-html-reports: Add symlinks for lintian.log



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

nthykier pushed a commit to branch master
in repository lintian.

commit 6acd90c548f1276afc19f7c581e475ae9fba5c26
Author: Niels Thykier <niels@thykier.net>
Date:   Mon Jun 27 20:31:34 2016 +0000

    c/r-html-reports: Add symlinks for lintian.log
    
    For machine processing, we need a stable name for the lintian log
    files.
    
    Signed-off-by: Niels Thykier <niels@thykier.net>
---
 commands/reporting-html-reports.pm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/commands/reporting-html-reports.pm b/commands/reporting-html-reports.pm
index 767c086..b2f9901 100644
--- a/commands/reporting-html-reports.pm
+++ b/commands/reporting-html-reports.pm
@@ -434,6 +434,10 @@ sub setup_output_dir {
         spawn(\%opts, ['gzip', '-9nc'])
           or die("cannot create $output_dir/lintian.log.gz.\n");
         $RESOURCE_MANAGER->install_resource("$output_dir/lintian.log.gz");
+        symlink($RESOURCE_MANAGER->resource_URL('lintian.log'),
+            "$output_dir/lintian.log");
+        symlink($RESOURCE_MANAGER->resource_URL('lintian.log.gz'),
+            "$output_dir/lintian.log.gz");
     }
 
     for my $dir (@{$resource_dirs}) {

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


Reply to: