Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 163423 - dev-scheme/kawa - shell script wrapper overwrites CLASSPATH
Summary: dev-scheme/kawa - shell script wrapper overwrites CLASSPATH
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Low normal (vote)
Assignee: Scheme Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-23 12:32 UTC by James Riordan
Modified: 2008-02-13 13:24 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Riordan 2007-01-23 12:32:17 UTC
The shell script wrapper for kawa (/usr/bin/kawa in dev-scheme/kawa)

  #!/bin/sh
  exec `java-config --java` -classpath `java-config -p kawa` kawa.repl "$@"

overwrites CLASSPATTH which is kind of annoying if you want to use kawa to
connect Scheme and Java.  Might I suggest:

  #!/bin/sh
  exec `java-config --java` -classpath `java-config -p kawa`${CLASSPATH:+:}${CLASSPATH} kawa.repl "$@"

(get rid of line feed) would be preferable.
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2008-02-13 13:24:39 UTC
Fixed in 1.9.1. kawa now uses generation 2 eclasses and the wrapper created by java-pkg_dolauncher respects CLASSPATH