File: Adjust-classpath-in-topcat-script.patch

package info (click to toggle)
starjava-topcat 4.10.3-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 25,520 kB
  • sloc: java: 78,168; xml: 35,531; sh: 68; makefile: 24
file content (25 lines) | stat: -rw-r--r-- 752 bytes parent folder | download | duplicates (2)
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 10:47:41 +0100
Subject: Adjust classpath in topcat script

---
 src/script/topcat | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/src/script/topcat b/src/script/topcat
index fa626c0..17a637b 100644
--- a/src/script/topcat
+++ b/src/script/topcat
@@ -77,11 +77,7 @@ if test -x /usr/bin/sw_vers && /usr/bin/sw_vers | grep -iq 'Mac *OS'; then
 fi
 
 #  Locate the application jar file. 
-for j in $bindir_topcat_jars; do
-   if test -z "$appjar" -a -f "$bindir/$j"; then
-      appjar="$bindir/$j"
-   fi
-done
+appjar=/usr/share/java/starlink-topcat.jar
 if test ! -f "$appjar"
 then
    echo 1>&2 "Can't find topcat classes relative to ${scriptname} - looked for:"