From 8f5ec187a744d3535a3a0bce928b2e2ae0ddc2f5 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 9 Nov 2010 07:33:57 +0100 Subject: Add jnlp security tag filter for unsigned temp builds --- deployment/funcs_jnlp_relocate.sh | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'deployment') diff --git a/deployment/funcs_jnlp_relocate.sh b/deployment/funcs_jnlp_relocate.sh index b4dabb3..e2d08a2 100755 --- a/deployment/funcs_jnlp_relocate.sh +++ b/deployment/funcs_jnlp_relocate.sh @@ -42,3 +42,27 @@ for j in $jnlpdir/*.jnlp ; do done } + +function remove_security_tag_jnlps() { + +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 + +cd $wsdir + +for i in *.jnlp ; do + sed -i -e 's///g' -e 's/<\/security>//g' -e 's///g' $i +done + +} + -- cgit v1.2.3