From 73a70dedc03f96b4362dabed9294a4c6630881ab Mon Sep 17 00:00:00 2001 From: htgoebel Date: Fri, 7 Jan 2005 17:38:24 +0000 Subject: [PATCH] =?UTF-8?q?Workaroung=20f=C3=BCr=20Bug=20#110?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@398 4ebea2bb-67d4-0310-8558-a5799e421b66 --- scons-tools/sourcetar.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scons-tools/sourcetar.py b/scons-tools/sourcetar.py index 5cc6d2f..8dea757 100644 --- a/scons-tools/sourcetar.py +++ b/scons-tools/sourcetar.py @@ -26,6 +26,10 @@ def _e_dist(target, source, env): collected = collect_sources(source, {}, {}) collected = [ c.srcnode() for c in collected.keys() ] + for c in collected: + if not c.exists(): + print 'warning: file', c, 'is missing' + collected = [c for c in collected if c.exists()] collected.sort(cmp_path) return (target, collected)