[SCM] ci-tooling packaging branch, master, updated. 37a22bb7ceff77ed9d642a0b15037bb500120103
Rohan Garg
rohangarg-guest at moszumanska.debian.org
Thu Apr 23 10:35:59 UTC 2015
Gitweb-URL: http://git.debian.org/?p=pkg-kde/ci-tooling.git;a=commitdiff;h=37a22bb
The following commit has been merged in the master branch:
commit 37a22bb7ceff77ed9d642a0b15037bb500120103
Author: Rohan Garg <rohan at garg.io>
Date: Thu Apr 23 12:35:47 2015 +0200
Use FileUtils and make sure we create the dir only once
---
dci/imager.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dci/imager.rb b/dci/imager.rb
index bbc640d..c845e8e 100644
--- a/dci/imager.rb
+++ b/dci/imager.rb
@@ -84,7 +84,7 @@ def workarounds
end
def deb_from_url(url)
- File.mkdir_p('config/packages.chroot/')
+ FileUtils.mkdir_p('config/packages.chroot/') unless Dir.exist?('config/packages.chroot')
system("wget -P config/packages.chroot/ #{url}")
end
--
ci-tooling packaging
More information about the pkg-kde-commits
mailing list