From 20c6d89bfc4f72144b8bcc48839da7ef9bc40681 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 6 Oct 2009 00:04:24 -0700 Subject: Work on test webstart deploy scripts .. --- make/deploy-jars-webstarttest.sh | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'make/deploy-jars-webstarttest.sh') diff --git a/make/deploy-jars-webstarttest.sh b/make/deploy-jars-webstarttest.sh index 861e638b1..9f38c8e28 100755 --- a/make/deploy-jars-webstarttest.sh +++ b/make/deploy-jars-webstarttest.sh @@ -3,8 +3,11 @@ joglbuilddir=$1 shift -if [ -z "$joglbuilddir" ] ; then - echo usage $0 jogl-builddir +wsdir=$1 +shift + +if [ -z "$joglbuilddir" -o -z "$wsdir" ] ; then + echo usage $0 jogl-builddir webstartdir exit 1 fi @@ -13,6 +16,11 @@ if [ ! -e $joglbuilddir ] ; then exit 1 fi +if [ ! -e $wsdir ] ; then + echo $wsdir does not exist + exit 1 +fi + builddirbase=`basename $joglbuilddir` joglroot=`dirname $joglbuilddir` gluegenroot=$joglroot/../gluegen @@ -37,9 +45,6 @@ if [ ! -e $jnlpdir_demos ] ; then exit 1 fi -wsdir=$joglbuilddir/webstart -mkdir -p $wsdir - cp -v $gluegenroot/$builddirbase/*.jar $wsdir cp -v $gluegenroot/$builddirbase/obj/lib*.so $wsdir -- cgit v1.2.3