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)