We need to handle the regular arguments as well.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1501 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
BINDIR=`dirname $0`
|
||||
JAVA_ARGS=""
|
||||
ARGS=""
|
||||
|
||||
# grab the -Dinviter if it's specified
|
||||
while [ ! -z "$1" ] ; do
|
||||
@@ -10,7 +11,11 @@ while [ ! -z "$1" ] ; do
|
||||
JAVA_ARGS="$JAVA_ARGS $1"
|
||||
shift
|
||||
;;
|
||||
*)
|
||||
ARGS="$ARGS $1"
|
||||
shift
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
$BINDIR/runjava $JAVA_ARGS com.threerings.micasa.client.MiCasaApp $*
|
||||
$BINDIR/runjava $JAVA_ARGS com.threerings.micasa.client.MiCasaApp $ARGS
|
||||
|
||||
Reference in New Issue
Block a user