summaryrefslogtreecommitdiffstats
path: root/deployment/funcs_jars_pack_sign.sh
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-12-04 00:08:47 +0100
committerSven Gothel <[email protected]>2010-12-04 00:08:47 +0100
commitf6063f904406cd5236e8f7e50543569ff14fe6d4 (patch)
treef56268aeadbcc586963e19faf545b7118f73f22a /deployment/funcs_jars_pack_sign.sh
parent1e8d663cc456950eb15986a5b1037cf379229974 (diff)
Fix function scripts: decl local vars local
Diffstat (limited to 'deployment/funcs_jars_pack_sign.sh')
-rwxr-xr-xdeployment/funcs_jars_pack_sign.sh18
1 files changed, 9 insertions, 9 deletions
diff --git a/deployment/funcs_jars_pack_sign.sh b/deployment/funcs_jars_pack_sign.sh
index b4ea813..8703785 100755
--- a/deployment/funcs_jars_pack_sign.sh
+++ b/deployment/funcs_jars_pack_sign.sh
@@ -8,7 +8,7 @@
function wsdir_jars_repack() {
-wsdir=$1
+local wsdir=$1
shift
if [ -z "$wsdir" ] ; then
@@ -21,7 +21,7 @@ if [ ! -e $wsdir ] ; then
exit 1
fi
-THISDIR=`pwd`
+local THISDIR=`pwd`
cd $wsdir
@@ -36,7 +36,7 @@ cd $THISDIR
function wsdir_jars_pack200() {
-wsdir=$1
+local wsdir=$1
shift
if [ -z "$wsdir" ] ; then
@@ -49,7 +49,7 @@ if [ ! -e $wsdir ] ; then
exit 1
fi
-THISDIR=`pwd`
+local THISDIR=`pwd`
cd $wsdir
@@ -74,16 +74,16 @@ cd $THISDIR
function wsdir_jars_sign() {
-wsdir=$1
+local wsdir=$1
shift
-keystore=$1
+local keystore=$1
shift
-storepass=$1
+local storepass=$1
shift
-signarg="$*"
+local signarg="$*"
if [ -z "$wsdir" -o -z "$keystore" -o -z "$storepass" ] ; then
echo "usage $0 webstartdir pkcs12-keystore storepass [signarg]"
@@ -100,7 +100,7 @@ if [ ! -e $keystore ] ; then
exit 1
fi
-THISDIR=`pwd`
+local THISDIR=`pwd`
cd $wsdir