summarylogtreecommitdiffstats
path: root/panoply-script.patch
blob: 80173fe93cf46abe0866baa2dbecbb0c4d0822a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- panoply.sh.old	2015-02-10 00:07:44.000000000 -0500
+++ panoply.sh	2015-02-11 10:44:26.634980046 -0500
@@ -1,8 +1,8 @@
 #!/bin/sh
 #
 
-SCRIPT=`readlink -f $0`
-SCRIPTDIR=`dirname $SCRIPT`
+CLASSPATH='/usr/share/java/panoply/*'
+MAIN_CLASS='gov.nasa.giss.panoply.Panoply'
 
-java -Xms512m -Xmx1600m -jar $SCRIPTDIR/jars/Panoply.jar "$@"
+java -Xms512m -cp "${CLASSPATH}" "${MAIN_CLASS}" "$@"