summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/bsh/files/bsh.Interpreter')
-rw-r--r--dev-java/bsh/files/bsh.Interpreter31
1 files changed, 0 insertions, 31 deletions
diff --git a/dev-java/bsh/files/bsh.Interpreter b/dev-java/bsh/files/bsh.Interpreter
deleted file mode 100644
index ae80eeb5b9cc..000000000000
--- a/dev-java/bsh/files/bsh.Interpreter
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/bin/sh
-# bsh.Interpreter Launch Script
-# Author: Dylan Carlson
-# May 2003
-# $Header: /var/cvsroot/gentoo-x86/dev-java/bsh/files/bsh.Interpreter,v 1.3 2005/03/10 17:45:40 luckyduck Exp $
-
-JAVA_HOME=`/usr/bin/java-config --jdk-home`
-if [ -z "${JAVA_HOME}" ] ; then
- JAVA_HOME=`/usr/bin/java-config --jre-home`
-fi
-CLASSPATH="${CLASSPATH}:`/usr/bin/java-config --classpath=bsh,bsf-2.3,servletapi-2.4,libreadline-java`"
-
-if [ ! -f ${JAVA_HOME}/bin/java ] ; then
- echo " "
- echo "I tried using the following Java Runtime:"
- echo "${JAVA_HOME}/bin/java"
- echo " "
- echo "Java Runtime missing. Please run java-config(1) and ensure"
- echo "your environment is configured properly."
- exit 1
-else
- echo " "
- echo "Using Java Runtime:"
- echo "${JAVA_HOME}/bin/java"
- echo " "
- echo "Using CLASSPATH:"
- echo "${CLASSPATH}"
- echo " "
-fi
-
-${JAVA_HOME}/bin/java bsh.Interpreter $*