blob: 62f10188009f7f85db14d12432463d5d264c75a7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
--- panoply.sh.old 2015-02-10 00:07:44.000000000 -0500
+++ panoply.sh 2015-02-11 10:44:26.634980046 -0500
@@ -1,10 +1,10 @@
#!/bin/sh
#
-SCRIPT=`readlink -f $0`
-SCRIPTDIR=`dirname $SCRIPT`
+CLASSPATH='/usr/share/java/panoply/*'
+MAIN_CLASS='gov.nasa.giss.panoply.Panoply'
-java -Xms512m -Xmx2000m -jar $SCRIPTDIR/jars/Panoply.jar "$@"
+java -Xms512m -cp "${CLASSPATH}" "${MAIN_CLASS}" "$@"
# If you are on a single-user Linux system and somehow find multiple instances of Panoply
# running on your computer, change the above line to include a -single flag, like this:
|