summaryrefslogtreecommitdiff
blob: 1ba6afb625eb079f705b7c9ebc59e05a4f8e423b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Index: src/gjl
===================================================================
--- src/gjl	(revision 2712)
+++ src/gjl	(working copy)
@@ -89,6 +89,11 @@
 
     classpath, library = get_pkg_args(pkg)
     if classpath:
+        envcp = os.getenv('CLASSPATH')
+
+        if envcp:
+            classpath = ':'.join((envcp, classpath))
+
         args += ' -classpath %s' % (classpath)
 
     if library: