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

Rohan Garg rohangarg-guest at moszumanska.debian.org
Tue Dec 9 17:13:58 UTC 2014


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

The following commit has been merged in the master branch:
commit a99ebeee02d8f9ba395801bd0f1aa895485c6b56
Author: Rohan Garg <rohan at kde.org>
Date:   Tue Dec 9 18:13:42 2014 +0100

    Add checks to make sure we don't recreate dir if it already exists
---
 dci/build.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dci/build.rb b/dci/build.rb
index 384d884..ad67770 100644
--- a/dci/build.rb
+++ b/dci/build.rb
@@ -53,7 +53,7 @@ else
               logger.info("Start building the package")
               system("dpkg-buildpackage -j`nproc` -us -uc")
           }
-          FileUtils.mkdir_p(result_dir)
+          FileUtils.mkdir_p(result_dir) unless Dir.exist? result_dir
           changes_files = Dir.glob("*changes").select { |changes| !changes.include? 'source' }
           changes_files.each do |changes_file|
               logger.info("Copying #{changes_file} ...")

-- 
ci-tooling packaging



More information about the pkg-kde-commits mailing list