diff options
author | Sven Gothel <[email protected]> | 2010-12-19 01:16:06 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2010-12-19 01:16:06 +0100 |
commit | 2ecec704ffa545e8d865c611df0debede2afcaf1 (patch) | |
tree | f96a10e95fa9e19ff1389d4831e99f5a73800136 /deployment/funcs_jars_pack_sign.sh | |
parent | 6f78999b70c214d71338793d00bc41e57760c7e2 (diff) |
Replace tags in html files as well; Use env var JOGAMP_DEPLOYMENT_NO_REPACK to avoid pack200 (local test time)
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/* . |