From b3e89bfa55389cae974c94afba6fb4ce118f75df Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 9 Nov 2010 03:05:17 +0100 Subject: Provide deployment (jnlp) and hudson build aggregation scripts --- deployment/deploy-jnlp-webstarttest-filter.sh | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100755 deployment/deploy-jnlp-webstarttest-filter.sh (limited to 'deployment/deploy-jnlp-webstarttest-filter.sh') diff --git a/deployment/deploy-jnlp-webstarttest-filter.sh b/deployment/deploy-jnlp-webstarttest-filter.sh new file mode 100755 index 0000000..77eda44 --- /dev/null +++ b/deployment/deploy-jnlp-webstarttest-filter.sh @@ -0,0 +1,25 @@ +#! /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 + +cd $wsdir + +rm -rf orig-jnlp +mkdir orig-jnlp + +for i in *.jnlp ; do + mv $i orig-jnlp + sed -e 's///g' -e 's/<\/security>//g' -e 's///g' orig-jnlp/$i > $i +done + -- cgit v1.2.3