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:
mdb
2004-08-28 16:05:25 +00:00
parent 7f2fcb59fc
commit e6f2c77898
+6 -1
View File
@@ -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