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

Harald Sitter apachelogger-guest at moszumanska.debian.org
Fri Oct 16 08:40:07 UTC 2015


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

The following commit has been merged in the master branch:
commit c94dfe48e3c61389c1292c844d6316f2b0200366
Author: Harald Sitter <sitter at kde.org>
Date:   Fri Oct 16 10:13:02 2015 +0200

    make sure to copy tarballs around
---
 lib/ci/tarball.rb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/ci/tarball.rb b/lib/ci/tarball.rb
index d5ff637..857c42a 100644
--- a/lib/ci/tarball.rb
+++ b/lib/ci/tarball.rb
@@ -33,7 +33,9 @@ module CI
       name = File.basename(@path)
       dir = File.dirname(@path)
       match = name.match(/(?<name>.+)-(?<version>[\d.]+)\.(?<ext>tar(.*))/)
+      old_path = @path
       @path = "#{dir}/#{match[:name]}_#{match[:version]}.orig.#{match[:ext]}"
+      FileUtils.cp(old_path, @path) if File.exist?(@path)
       self
     end
 

-- 
ci-tooling packaging



More information about the pkg-kde-commits mailing list