diff options
author | Sven Gothel <[email protected]> | 2011-02-28 18:57:58 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-02-28 18:57:58 +0100 |
commit | ba0cbe4dc8712748ec25cd4ef1728f65d6af56f9 (patch) | |
tree | f41b293c688ea4d05716264bf34f99b1e1941344 /hudson-builds/funcs_promotion.sh | |
parent | 3b8f2a1a6a599265c47b340bf433ba26308b98e2 (diff) |
7z extract: chmod 755 of containing folder
Diffstat (limited to 'hudson-builds/funcs_promotion.sh')
-rwxr-xr-x | hudson-builds/funcs_promotion.sh | 5 |
1 files changed, 4 insertions, 1 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 } |