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

Harald Sitter apachelogger-guest at moszumanska.debian.org
Wed Jul 1 08:22:56 UTC 2015


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

The following commit has been merged in the master branch:
commit 2c3df93ecd5152ff59d0a143064346ec0e90e44e
Author: Harald Sitter <sitter at kde.org>
Date:   Wed Jul 1 10:22:54 2015 +0200

    inside docker we are copying across devices, use fileutils
    
    file.rename is very limited and doesn't actually move the file but rename
    the inode
---
 kci/source_publisher.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kci/source_publisher.rb b/kci/source_publisher.rb
index 1123fe1..b6e3641 100755
--- a/kci/source_publisher.rb
+++ b/kci/source_publisher.rb
@@ -160,7 +160,7 @@ class SourcePublisher
       unless tmpfile.is_a?(Tempfile)
         fail IOError, 'open() did not return a Tempfile'
       end
-      File.rename(tmpfile, "#{log_dir}/#{build.arch_tag}.log")
+      FileUtils.cp(tmpfile, "#{log_dir}/#{build.arch_tag}.log")
       tmpfile.close
 
       archindep = source.distro_series.nominatedarchindep.architecture_tag

-- 
ci-tooling packaging



More information about the pkg-kde-commits mailing list