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

Rohan Garg rohangarg-guest at moszumanska.debian.org
Fri Dec 12 15:27:40 UTC 2014


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

The following commit has been merged in the master branch:
commit 8eff54d065a62571b20cdd60075b373a71dc8186
Author: Rohan Garg <rohan at kde.org>
Date:   Fri Dec 12 16:27:29 2014 +0100

    Use subdirs for better organization purposes
---
 lib/projects.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/projects.rb b/lib/projects.rb
index dd2d92d..f0f46dc 100644
--- a/lib/projects.rb
+++ b/lib/projects.rb
@@ -29,8 +29,8 @@ class Project
         @packaging_scm = url_base + component + '/' + name
 
         # FIXME: git dir needs to be set somewhere, somehow, somewhat, lol, kittens?
-        Dir.mkdir('git') unless Dir.exist?('git')
-        Dir.chdir('git') do
+        FileUtils.mkdir_p("git/#{component}") unless Dir.exist?("git/#{component}")
+        Dir.chdir("git/#{component}") do
             unless File.exist?(name)
                 i = 0
                 while true and (i+=1) < 5

-- 
ci-tooling packaging



More information about the pkg-kde-commits mailing list