blob: fd9e215a94c1bc16e89f4055876ee0f8fe23096a (
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
#! /bin/sh
wsdir=$1
shift
if [ -z "$wsdir" ] ; then
echo usage $0 webstartdir
exit 1
fi
if [ ! -e $wsdir ] ; then
echo $wsdir does not exist
exit 1
fi
THISDIR=`pwd`
cd $wsdir
mkdir -p DLLS
mv *linux*.jar DLLS/
mv *windows*.jar DLLS/
mv *macosx*.jar DLLS/
mkdir -p JAVAS
mv *.jar JAVAS
cd JAVAS
for i in *.jar ; do
echo pack200 -E9 $i.pack.gz $i
pack200 -E9 $i.pack.gz $i
done
cd $wsdir
mv JAVAS/* .
mv DLLS/* .
rm -rf JAVAS DLLS
cd $THISDIR
|