[SCM] ci-tooling packaging branch, master, updated. 5108b7f533191c6d11ea6d7f4b81bf61423eb4ca
Rohan Garg
rohangarg-guest at moszumanska.debian.org
Mon Feb 23 00:18:36 UTC 2015
Gitweb-URL: http://git.debian.org/?p=pkg-kde/ci-tooling.git;a=commitdiff;h=5108b7f
The following commit has been merged in the master branch:
commit 5108b7f533191c6d11ea6d7f4b81bf61423eb4ca
Author: Rohan Garg <rohan at kde.org>
Date: Mon Feb 23 01:17:19 2015 +0100
Protect against nil array's
---
dci/build.rb | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/dci/build.rb b/dci/build.rb
index 43a470d..dd429a7 100644
--- a/dci/build.rb
+++ b/dci/build.rb
@@ -81,12 +81,15 @@ else
c = DebianControl.new
c.parse!
build_depends = []
+
c.source['build-depends'].each do |dep|
build_depends << dep.name
end
- c.source['build-depends-indep'].each do |dep|
- build_depends << dep.name
+ unless c.source['build-depends-indep'].nil?
+ c.source['build-depends-indep'].each do |dep|
+ build_depends << dep.name
+ end
end
logger.info("Installing build deps : #{build_depends}")
--
ci-tooling packaging
More information about the pkg-kde-commits
mailing list