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

Rohan Garg rohangarg-guest at moszumanska.debian.org
Mon Nov 2 18:24:58 UTC 2015


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

The following commit has been merged in the master branch:
commit 94085e4d56674bada8c85adafe5dc1d6a09ca5bf
Author: Rohan Garg <rohan at garg.io>
Date:   Mon Nov 2 19:24:54 2015 +0100

    Fail to progress unless we can extract the source
---
 lib/ci/build_binary.rb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/ci/build_binary.rb b/lib/ci/build_binary.rb
index e7d4c12..8b0eb7e 100644
--- a/lib/ci/build_binary.rb
+++ b/lib/ci/build_binary.rb
@@ -22,7 +22,8 @@ module CI
 
     def extract
       FileUtils.rm_rf(BUILD_DIR, verbose: true)
-      system('dpkg-source', '-x', @source.dsc, BUILD_DIR)
+      fail "Something went terribly wrong with extracting the source" unless
+       system('dpkg-source', '-x', @source.dsc, BUILD_DIR)
     end
 
     def build_package

-- 
ci-tooling packaging



More information about the pkg-kde-commits mailing list