diff options
Diffstat (limited to 'deployment/funcs_jars_pack_sign.sh')
-rwxr-xr-x | deployment/funcs_jars_pack_sign.sh | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/deployment/funcs_jars_pack_sign.sh b/deployment/funcs_jars_pack_sign.sh index 1e5dfd4..364c3d8 100755 --- a/deployment/funcs_jars_pack_sign.sh +++ b/deployment/funcs_jars_pack_sign.sh @@ -25,10 +25,12 @@ local THISDIR=`pwd` cd $wsdir -for i in *.jar ; do +if [ -z "$JOGAMP_DEPLOYMENT_NO_REPACK" ] ; then + for i in *.jar ; do echo pack200 --repack $i pack200 --repack $i -done + done +fi cd $THISDIR @@ -56,12 +58,14 @@ cd $wsdir mkdir -p DLLS mv *natives*.jar DLLS/ -for i in *.jar ; do +if [ -z "$JOGAMP_DEPLOYMENT_NO_REPACK" ] ; then + for i in *.jar ; do echo gzip -9 $i to $i.gz gzip -9 -cv $i > $i.gz echo pack200 -E9 $i.pack.gz $i pack200 -E9 $i.pack.gz $i -done + done +fi mv DLLS/* . |