This is an automated email from the git hooks/post-receive script. gregoa pushed a commit to branch master in repository jabref.
commit 37a9cb1dedc5bd3a903a74fcdb6b827c24ffeb17 Author: gregor herrmann <[email protected]> Date: Mon Mar 12 19:02:23 2007 +0000 * Change wrapper script /usr/bin/jabref to explicitly use the Sun Java 5 or 6 virtual machine (closes: #383019). --- debian/changelog | 7 +++++++ jabref | 13 ++++++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 902f310..bc82e18 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +jabref (2.2-01-4) unstable; urgency=low + + * Change wrapper script /usr/bin/jabref to explicitly use the Sun Java + 5 or 6 virtual machine (closes: #383019). + + -- gregor herrmann <[email protected]> Mon, 12 Mar 2007 20:01:27 +0100 + jabref (2.2-01-3) unstable; urgency=low * Add call to dh_desktop to debian/rules. diff --git a/jabref b/jabref index 723500d..a782159 100644 --- a/jabref +++ b/jabref @@ -1,4 +1,15 @@ #!/bin/sh -java -jar /usr/share/java/jabref.jar "$@" +# jabref wrapper script +# code for java detection borrowed from tuxguitar +if [ -z $JAVA_HOME ] +then +t=/usr/lib/jvm/java-1.5.0-sun/ && test -d $t && JAVA_HOME=$t +t=/usr/lib/jvm/java-6-sun/ && test -d $t && JAVA_HOME=$t +JAVA=${JAVA_HOME}/jre/bin/java +fi + +export JAVA=${JAVA:=java} + +$JAVA -jar /usr/share/java/jabref.jar "$@" -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jabref.git _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

