[SCM] ci-tooling packaging branch, master, updated. f98ee2508624b433cd29b51864ece04da95695a8

Harald Sitter apachelogger-guest at moszumanska.debian.org
Mon Mar 23 09:12:13 UTC 2015


Gitweb-URL: http://git.debian.org/?p=pkg-kde/ci-tooling.git;a=commitdiff;h=677c207

The following commit has been merged in the master branch:
commit 677c207d411a9d4a0b6ed67816441b1c3b9ac499
Author: Harald Sitter <sitter at kde.org>
Date:   Mon Mar 23 10:11:25 2015 +0100

    make changelog pwd parameterizable
---
 lib/debian/changelog.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/debian/changelog.rb b/lib/debian/changelog.rb
index dfaaa2d..a9bbd02 100644
--- a/lib/debian/changelog.rb
+++ b/lib/debian/changelog.rb
@@ -13,8 +13,8 @@ class Changelog
   REVISION   = 0b1000
   ALL        = 0b1111
 
-  def initialize()
-    line = File.open('debian/changelog', &:gets)
+  def initialize(pwd = Dir.pwd)
+    line = File.open("#{pwd}/debian/changelog", &:gets)
     # plasma-framework (5.3.0-0ubuntu1) utopic; urgency=medium
     match = line.match(/^(.*) \((.*)\) (.+); urgency=(\w+)/)
     # Need a  match and 5 elements.

-- 
ci-tooling packaging



More information about the pkg-kde-commits mailing list