1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
From: Ole Streicher <olebole@debian.org>
Date: Fri, 3 Mar 2017 09:28:38 +0100
Subject: Adjust classpath in stilts script
---
src/script/stilts | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/src/script/stilts b/src/script/stilts
index 57a1b7a..444ef66 100644
--- a/src/script/stilts
+++ b/src/script/stilts
@@ -65,11 +65,7 @@ mac_bundled_java="$bindir/../jre.bundle/Contents/Home/bin/java"
test -x "$mac_bundled_java" && java="$mac_bundled_java"
# Locate the application jar file.
-for j in $bindir_stilts_jars; do
- if test -z "$appjar" -a -f "$bindir/$j"; then
- appjar="$bindir/$j"
- fi
-done
+appjar=/usr/share/java/starlink-ttools.jar
if test ! -f "$appjar"
then
echo 1>&2 "Can't find stilts classes relative to ${scriptname} - looked for:"
|