mirror of
https://gitlab.com/ita1024/waf.git
synced 2025-01-18 06:09:56 +01:00
javaw: skip adding empty entries in CLASSPATH
This commit is contained in:
parent
f8f4f74403
commit
a6614586c7
@ -139,7 +139,8 @@ def set_classpath(self):
|
||||
"""
|
||||
Sets the CLASSPATH value on the *javac* task previously created.
|
||||
"""
|
||||
self.env.append_unique('CLASSPATH', getattr(self, 'classpath', []))
|
||||
if getattr(self, 'classpath', None):
|
||||
self.env.append_unique('CLASSPATH', getattr(self, 'classpath', []))
|
||||
for x in self.tasks:
|
||||
x.env.CLASSPATH = os.pathsep.join(self.env.CLASSPATH) + os.pathsep
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user