Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 24369 Details for
Bug 39286
java-config 1.2.4 isn't able to set classpath
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to fix jc_util
jc_util.patch (text/plain), 1.12 KB, created by
Jason A. Mobarak (RETIRED)
on 2004-01-24 23:49:15 UTC
(
hide
)
Description:
patch to fix jc_util
Filename:
MIME Type:
Creator:
Jason A. Mobarak (RETIRED)
Created:
2004-01-24 23:49:15 UTC
Size:
1.12 KB
patch
obsolete
>Index: jc_util.py >=================================================================== >RCS file: /home/cvsroot/gentoo-src/java-config/python/java_config/jc_util.py,v >retrieving revision 1.9 >retrieving revision 1.10 >diff -u -r1.9 -r1.10 >--- jc_util.py 25 Jan 2004 06:58:19 -0000 1.9 >+++ jc_util.py 25 Jan 2004 07:01:38 -0000 1.10 >@@ -1,6 +1,6 @@ >-# $Header: /home/cvsroot/gentoo-src/java-config/python/java_config/jc_util.py,v 1.9 2004/01/25 06:58:19 aether Exp $ >+# $Header: /home/cvsroot/gentoo-src/java-config/python/java_config/jc_util.py,v 1.10 2004/01/25 07:01:38 aether Exp $ > >-__version__ = "$Revision: 1.9 $" >+__version__ = "$Revision: 1.10 $" > > import os > import re >@@ -142,12 +142,12 @@ > pkg_env = collect_packages.pkg_env(pkg) > classpath = None > >- if os.path.isfile(cp_env): >- classpath = open(cp_env).read().strip() >- >- elif os.path.isfile(pkg_env): >+ if os.path.isfile(pkg_env): > classpath = get_line_from_env_file('CLASSPATH', pkg_env) + ':' > >+ elif os.path.isfile(cp_env): >+ classpath = open(cp_env).read().strip() >+ > if classpath is None: > raise OptionRuntimeError, 'Could not find package %s' % pkg >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 39286
:
24368
|
24369
|
24370