diff options
-rwxr-xr-x | hudson-builds/funcs_promotion.sh | 5 | ||||
-rwxr-xr-x | hudson-builds/promote-latest-builds.sh | 6 |
2 files changed, 7 insertions, 4 deletions
diff --git a/hudson-builds/funcs_promotion.sh b/hudson-builds/funcs_promotion.sh index 44be6ae..16c2ea5 100755 --- a/hudson-builds/funcs_promotion.sh +++ b/hudson-builds/funcs_promotion.sh @@ -93,7 +93,7 @@ function prom_promote_files() { fi local zfolder=`basename $zfile .7z` echo "INFO: extract $module $i - $zfile -> $zfolder" - prom_extract $zfile + prom_extract $zfile $zfolder prom_verify_artifacts $module $module.artifact.properties $zfolder/artifact.properties done # copy the platform JAR files from each platform 7z folder @@ -146,6 +146,9 @@ function prom_extract() { echo ERROR in 7z file $zfile $* else echo OK 7z file $zfile $* + if [ ! -z "$*" ] ; then + chmod 755 $* + fi fi } diff --git a/hudson-builds/promote-latest-builds.sh b/hudson-builds/promote-latest-builds.sh index 74959f5..811c69f 100755 --- a/hudson-builds/promote-latest-builds.sh +++ b/hudson-builds/promote-latest-builds.sh @@ -109,7 +109,7 @@ function promote-latest-builds() { mkdir joal-demos cd joal-demos echo "INFO: extract $fname -> $bname" - prom_extract ../$bname.7z + prom_extract ../$bname.7z $bname mv $bname/jar/* . mv $bname/jnlp-files . mv $bname/www . @@ -161,7 +161,7 @@ function promote-latest-builds() { mkdir jogl-demos cd jogl-demos echo "INFO: extract $fname -> $bname" - prom_extract ../$bname.7z + prom_extract ../$bname.7z $bname mv $bname/jar/* . mv $bname/jnlp-files . mv $bname/www . @@ -207,7 +207,7 @@ function promote-latest-builds() { mkdir jocl-demos cd jocl-demos echo "INFO: extract $fname -> $bname" - prom_extract ../$bname.7z + prom_extract ../$bname.7z $bname mv $bname/jar/* . mv $bname/jnlp-files . mv $bname/www . |