Summary: | java-config -b chops of last character from existing classpath | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Rohit Singh <rohits> |
Component: | [OLD] Development | Assignee: | Jason A. Mobarak (RETIRED) <aether> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | java |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Rohit Singh
2004-02-13 09:32:51 UTC
Can you attach a patch of your changes? Looks like a simple one liner, but if I could see everything you changed to try and fix it that'd be great! Thanks. --- jc_options.py 2004-02-17 18:16:20.006611380 -0500 +++ /usr/lib/python2.3/site-packages/java_config/jc_options.py 2004-02-17 18:19:08.000000000 -0500 @@ -721,7 +721,7 @@ elif os.path.isfile(os.path.join(jc_dir, 'java-env-classpath')): old_classpath = file(os.path.join(jc_dir, 'java-env-classpath'), 'r').read() - old_classpath = re.sub('CLASSPATH=\${CLASSPATH}:', '', old_classpath) + old_classpath = re.sub('CLASSPATH=\${CLASSPATH}:', '', old_classpath)[:-1] file(os.path.join(jc_dir, 'java-env-classpath'), 'w').write( 'CLASSPATH=${CLASSPATH}:' + old_classpath + ':' + collect_packages(args) Patch in version 1.2.6 -- |