diff options
author | Sven Gothel <[email protected]> | 2011-09-13 06:52:33 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-09-13 06:52:33 +0200 |
commit | 20c89e865adf4b7f36b654bc48dafc7a83af115a (patch) | |
tree | aa728186b164b830d75008973c6cc6b69a18acea /deployment | |
parent | 3e734b4993a1800225123b80aec679b4141bfe30 (diff) |
New Deployment Filesystem Hierarchy Standard (D FHS) - Using subfolders to cleanup
Diffstat (limited to 'deployment')
-rwxr-xr-x | deployment/deploy-jars-webstarttest.sh | 12 | ||||
-rwxr-xr-x | deployment/funcs_jars_pack_sign.sh | 22 |
2 files changed, 18 insertions, 16 deletions
diff --git a/deployment/deploy-jars-webstarttest.sh b/deployment/deploy-jars-webstarttest.sh index 8a98f5d..4c3a841 100755 --- a/deployment/deploy-jars-webstarttest.sh +++ b/deployment/deploy-jars-webstarttest.sh @@ -11,13 +11,13 @@ if [ -z "$joglbuilddir" -o -z "$wsdir" ] ; then exit 1 fi -if [ ! -e $joglbuilddir ] ; then - echo $joglbuilddir does not exist +if [ ! -e $joglbuilddir/jar ] ; then + echo $joglbuilddir/jar does not exist 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 @@ -45,6 +45,6 @@ if [ ! -e $jnlpdir_demos ] ; then exit 1 fi -cp -v $joglbuilddir/jar/*.jar $wsdir -cp -v $demosroot/$builddirbase/*.jar $wsdir +cp -v $joglbuilddir/jar/*.jar $wsdir/jar/ +cp -v $demosroot/$builddirbase/*.jar $wsdir/jogl-demos/ 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 |