blob: 123b72c7f2605151c95f71b696d3248b1ea07c17 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
Description: Check for file/symlink existence before trying to use it in Java().
Upstream bug: http://scons.tigris.org/issues/show_bug.cgi?id=2207
Debian bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=338232
Index: scons-1.1.0/engine/SCons/Tool/javac.py
===================================================================
--- scons-1.1.0.orig/engine/SCons/Tool/javac.py 2008-10-11 18:11:46.083270910 +0200
+++ scons-1.1.0/engine/SCons/Tool/javac.py 2008-10-11 18:13:04.519739110 +0200
@@ -94,6 +94,8 @@
version = env.get('JAVAVERSION', '1.4')
full_tlist = []
for f in slist:
+ if not os.path.exists(f.rfile().get_abspath()):
+ continue
tlist = []
source_file_based = True
pkg_dir = None
|