#1 Enhanced run script

open
nobody
None
5
2003-04-30
2003-04-30
No

This run script will run javaguard from any working
directory.
Simply symlink this script to /usr/local/bin an you are
ready to go.
The change dir is needed to deal with symlinks.

<pre>

#!/bin/sh
saveddir=$(pwd)
cd $(dirname "$0")/..
JAVAGUARD_HOME=$(pwd)
cd "$saveddir"
java -cp
$JAVAGUARD_HOME/lib/javaguard.jar:$JAVAGUARD_HOME/lib/jakarta-oro-2.0.6.jar
JavaGuard $*

</pre>

Discussion

  • enhanced run script

     
    Attachments
    run