summaryrefslogtreecommitdiffstats
path: root/deployment/funcs_jars_pack_sign.sh
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-09-13 06:52:33 +0200
committerSven Gothel <[email protected]>2011-09-13 06:52:33 +0200
commit20c89e865adf4b7f36b654bc48dafc7a83af115a (patch)
treeaa728186b164b830d75008973c6cc6b69a18acea /deployment/funcs_jars_pack_sign.sh
parent3e734b4993a1800225123b80aec679b4141bfe30 (diff)
New Deployment Filesystem Hierarchy Standard (D FHS) - Using subfolders to cleanup
Diffstat (limited to 'deployment/funcs_jars_pack_sign.sh')
-rwxr-xr-xdeployment/funcs_jars_pack_sign.sh22
1 files changed, 12 insertions, 10 deletions
diff --git a/deployment/funcs_jars_pack_sign.sh b/deployment/funcs_jars_pack_sign.sh
index 364c3d8..8817575 100755
--- a/deployment/funcs_jars_pack_sign.sh
+++ b/deployment/funcs_jars_pack_sign.sh
@@ -16,14 +16,17 @@ if [ -z "$wsdir" ] ; then
exit 1
fi
-if [ ! -e $wsdir ] ; then
- echo $wsdir does not exist
+if [ ! -e $wsdir/jar ] ; then
+ echo $wsdir/jar does not exist
exit 1
fi
local THISDIR=`pwd`
-cd $wsdir
+cd $wsdir/jar
+
+mkdir orig
+cp -a *jar orig/
if [ -z "$JOGAMP_DEPLOYMENT_NO_REPACK" ] ; then
for i in *.jar ; do
@@ -46,14 +49,14 @@ if [ -z "$wsdir" ] ; then
exit 1
fi
-if [ ! -e $wsdir ] ; then
- echo $wsdir does not exist
+if [ ! -e $wsdir/jar ] ; then
+ echo $wsdir/jar does not exist
exit 1
fi
local THISDIR=`pwd`
-cd $wsdir
+cd $wsdir/jar
mkdir -p DLLS
mv *natives*.jar DLLS/
@@ -68,7 +71,6 @@ if [ -z "$JOGAMP_DEPLOYMENT_NO_REPACK" ] ; then
fi
mv DLLS/* .
-
rm -rf DLLS
cd $THISDIR
@@ -94,8 +96,8 @@ if [ -z "$wsdir" -o -z "$keystore" -o -z "$storepass" ] ; then
exit 1
fi
-if [ ! -e $wsdir ] ; then
- echo $wsdir does not exist
+if [ ! -e $wsdir/jar ] ; then
+ echo $wsdir/jar does not exist
exit 1
fi
@@ -106,7 +108,7 @@ fi
local THISDIR=`pwd`
-cd $wsdir
+cd $wsdir/jar
rm -rf demo-jars
mkdir -p demo-jars