66 |
09 Feb 06 |
enell |
#!/bin/bash - |
66 |
09 Feb 06 |
enell |
2 |
|
66 |
09 Feb 06 |
enell |
progdir="`dirname \"$0\"`" |
99 |
20 Apr 06 |
enell |
exec="" |
99 |
20 Apr 06 |
enell |
5 |
|
99 |
20 Apr 06 |
enell |
if [[ $* == "qscore" ]]; then |
99 |
20 Apr 06 |
enell |
exec="qpackage.qscore.Qscore" |
99 |
20 Apr 06 |
enell |
fi |
99 |
20 Apr 06 |
enell |
9 |
|
99 |
20 Apr 06 |
enell |
if [[ $exec != "" ]]; then |
99 |
20 Apr 06 |
enell |
java -cp "$CLASSPATH:$progdir/QPackage.jar" "$exec" |
99 |
20 Apr 06 |
enell |
else |
99 |
20 Apr 06 |
enell |
echo "no main class specified" |
99 |
20 Apr 06 |
enell |
fi |