[SCM] ci-tooling packaging branch, master, updated. 55c56f02c5b9fd267eaa97a790c7e5fb9bbeb0c8
Rohan Garg
rohangarg-guest at moszumanska.debian.org
Tue Mar 24 00:43:19 UTC 2015
Gitweb-URL: http://git.debian.org/?p=pkg-kde/ci-tooling.git;a=commitdiff;h=55c56f0
The following commit has been merged in the master branch:
commit 55c56f02c5b9fd267eaa97a790c7e5fb9bbeb0c8
Author: Rohan Garg <rohan at garg.io>
Date: Tue Mar 24 01:41:53 2015 +0100
Make sure we don't error out when there are no build-deps
---
dci/source.rb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dci/source.rb b/dci/source.rb
index 8013bf6..fd59328 100644
--- a/dci/source.rb
+++ b/dci/source.rb
@@ -81,11 +81,11 @@ Dir.chdir(ARGV[1]) do
c = DebianControl.new
c.parse!
build_depends = []
- c.source['build-depends'].each do |dep|
+ c.source.fetch('build-depends', []).each do |dep|
build_depends << dep.name
end
- unless c.source['build-depends-indep'].nil?
+ unless c.source.fetch('build-depends-indep', []).nil?
c.source['build-depends-indep'].each do |dep|
build_depends << dep.name
end
--
ci-tooling packaging
More information about the pkg-kde-commits
mailing list