diff options
Diffstat (limited to 'jenkins-builds/funcs_promotion.sh')
-rwxr-xr-x | jenkins-builds/funcs_promotion.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/jenkins-builds/funcs_promotion.sh b/jenkins-builds/funcs_promotion.sh index 5ef9c84..22238e1 100755 --- a/jenkins-builds/funcs_promotion.sh +++ b/jenkins-builds/funcs_promotion.sh @@ -1,6 +1,5 @@ #! /bin/bash - function prom_setup() { local ldest=$1 shift @@ -464,6 +463,8 @@ function prom_extract() { echo OK 7z file $zfile $* if [ ! -z "$*" ] ; then chmod 755 $* + find $* -type d -exec chmod 0755 \{\} \; + find $* -type f -exec chmod 0644 \{\} \; fi fi } |