[Webfunds-commits] html/download/zip run
Ian Grigg
iang@cypherpunks.ai
Sun, 15 Apr 2001 20:08:56 -0400 (AST)
iang 01/04/15 20:08:56
Modified: download/zip run
Log:
now set main in runlocal so that cashbox can override to run a unit test
Revision Changes Path
1.14 +7 -5 html/download/zip/run
Index: run
===================================================================
RCS file: /home/webfunds/cvsroot/html/download/zip/run,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- run 2000/09/05 19:48:05 1.13
+++ run 2001/04/16 00:08:56 1.14
@@ -1,6 +1,6 @@
#
-# *DON'T* change these two, rather, create a file "runlocal"
+# *DON'T* change these, rather, create a file "runlocal"
# and set JAVAHOME and SWING (latter for 1.1 only) in that file.
#
# See the file README.html for additional instructions on how
@@ -8,6 +8,8 @@
#
jdks="/usr/local/linux-jdk1.2.2 /usr/local/jdk/jdk1.1.8 /usr/local/jdk1.1.8"
swings="/usr/local/share/java/classes/swingall.jar /usr/local/jdk/swingall.jar"
+main=webfunds.client.Core
+stderr=stderr
#
# You should set the location of the JDK and SWING (1.1 only)
@@ -97,9 +99,9 @@
fi
# preserves a log so errors can be sent straight to WebFunds bug central.
-echo "Note, errors now kept in the file stderr"
-[ -f stderr ] && mv -f stderr stderr.old
-echo $CLASSPATH > stdcp
+echo "Note, errors now kept in the file ${stderr}"
+[ -f ${stderr} ] && mv -f ${stderr} ${stderr}.old
+echo $CLASSPATH > ${stderr}
-${java} webfunds.client.Core
+${java} ${main}