[SCM] pkg-kde-jenkins packaging branch, master, updated. 2b3a7af147c50274fbd109d636bc692083044649

Maximiliano Curia maxy at moszumanska.debian.org
Tue Nov 1 15:49:21 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/pkg-kde-jenkins.git;a=commitdiff;h=4627e29

The following commit has been merged in the master branch:
commit 4627e294af4cc82411d4290f2bdcc8bd86a2b1d3
Author: Maximiliano Curia <maxy at gnuservers.com.ar>
Date:   Tue Jul 5 17:37:31 2016 +0200

    Avoid failling if a sub_dir is missing
---
 hooks/prepare/cmake_update_deps | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/hooks/prepare/cmake_update_deps b/hooks/prepare/cmake_update_deps
index 84c518a..4cd5c05 100755
--- a/hooks/prepare/cmake_update_deps
+++ b/hooks/prepare/cmake_update_deps
@@ -575,6 +575,11 @@ class CMakeParser(Parser):
         # logging.debug(invocation)
         subdir = self.expand(invocation[1])
         filename = self.relative_dirname_join(subdir, 'CMakeLists.txt')
+        if not os.path.exists(filename):
+            logging.warn(
+                'File: {} not found, cmake project incomplete?'.format(
+                    filename))
+            return
         # logging.debug(filename)
         self.run_file(filename)
 

-- 
pkg-kde-jenkins packaging



More information about the pkg-kde-commits mailing list