summaryrefslogtreecommitdiffstats
path: root/deployment/deploy-jars_external-webstarttest.sh
blob: 3fc1daa5111b06827352e7b779a17d44c8e492a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#! /bin/sh

if [ ! -e scripts -o ! -e ../make ] ; then
    echo start this script from JOGL/jogl/make
	exit 1
fi

SOURCE=$1
shift

wsdir=$1
shift 

if [ -z "$SOURCE" -o -z "$wsdir" ] ; then
    echo usage $0 source webstartdir
	echo source might be user@192.168.0.1:webstart/
    exit 1
fi

if [ ! -e $wsdir ] ; then
    echo $wsdir does not exist
    exit 1
fi

echo scp -v $SOURCE*natives* $wsdir
scp -v $SOURCE*natives* $wsdir