CVS eclipse/debian/extra
Michael Koch
mkoch-guest at haydn.debian.org
Thu Dec 15 22:14:44 UTC 2005
Update of /cvsroot/pkg-java/eclipse/debian/extra
In directory haydn:/tmp/cvs-serv13581/extra
Modified Files:
eclipse.sh
Log Message:
* debian/extra/eclipse.sh: Use /bin/sh to as shell. Fixed to be POSIX-
compliant. Closes: #342255
--- /cvsroot/pkg-java/eclipse/debian/extra/eclipse.sh 2005/12/15 09:24:55 1.4
+++ /cvsroot/pkg-java/eclipse/debian/extra/eclipse.sh 2005/12/15 22:14:44 1.5
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
# Having any sort of classpath causes massive breakage, with Kaffe at least.
unset CLASSPATH; export CLASSPATH
@@ -65,6 +65,7 @@
# and pick the first one that exists.
if [ -z "${JAVA_HOME}" ]; then
echo "searching for compatible vm..."
+ cat /etc/eclipse/java_home | grep -v '^#' | grep -v '^$' | \
while read JAVA_HOME; do
echo -n " testing ${JAVA_HOME}..."
if [ -x "${JAVA_HOME}/bin/java" ]; then
@@ -74,7 +75,7 @@
else
echo "not found"
fi
- done < <(cat /etc/eclipse/java_home | grep -v '^#' | grep -v '^$')
+ done
fi
# If we don't have a JAVA_HOME yet, we're doomed.
More information about the pkg-java-commits
mailing list