[SCM] patch-parser packaging branch, master, updated. cfa38bf092d17f9cd45dcdbdcc112dce15e24bed

Harald Sitter apachelogger-guest at moszumanska.debian.org
Mon May 4 10:09:39 UTC 2015


Gitweb-URL: http://git.debian.org/?p=pkg-kde/patch-parser.git;a=commitdiff;h=cfa38bf

The following commit has been merged in the master branch:
commit cfa38bf092d17f9cd45dcdbdcc112dce15e24bed
Author: Harald Sitter <sitter at kde.org>
Date:   Mon May 4 12:09:00 2015 +0200

    log path we use to write the final patch page
---
 render.rb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/render.rb b/render.rb
index 54eaf5a..bc82451 100644
--- a/render.rb
+++ b/render.rb
@@ -47,7 +47,9 @@ Dir.chdir('cache') do
     repos.sort_by!(&:name)
     template_path = File.expand_path('views/patches.html.haml', __FILE__)
     html = Haml::Engine.new(File.read(template_path)).render(repos)
-    File.write("../#{branch}.html", html)
+    output_path = File.expand_path("#{branch}.html", __FILE__)
+    @log.info "Writing #{branch} list to #{output_path}"
+    File.write(output_path, html)
   end
 end
 

-- 
patch-parser packaging



More information about the pkg-kde-commits mailing list