From: Nabil Ghodbane Date: Fri, 9 Dec 2022 15:29:12 +0000 (+0100) Subject: sat #32672: add post_script key for boost and hdf5 X-Git-Tag: V9_11_0~151 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=04888b97bc4508bec90ddde90a3eab59c3befd18;p=tools%2Fsat_salome.git sat #32672: add post_script key for boost and hdf5 --- diff --git a/products/boost.pyconf b/products/boost.pyconf index a191dd2..23f0703 100644 --- a/products/boost.pyconf +++ b/products/boost.pyconf @@ -25,6 +25,7 @@ default : incremental : "yes" single_install_dir : "yes" } + post_script: 'fix_permissions.sh } default_win : diff --git a/products/hdf5.pyconf b/products/hdf5.pyconf index 443bbde..14a62f4 100755 --- a/products/hdf5.pyconf +++ b/products/hdf5.pyconf @@ -27,6 +27,7 @@ default : incremental : "yes" single_install_dir : "yes" } + post_script: 'fix_permissions.sh } default_Autotools : diff --git a/products/post_scripts/fix_permissions.sh b/products/post_scripts/fix_permissions.sh new file mode 100755 index 0000000..2bad9d5 --- /dev/null +++ b/products/post_scripts/fix_permissions.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +echo "changing permissions..." +cd $PRODUCT_INSTALL +find . -type d | xargs chmod ugo+rx +find . -name \*.py | xargs chmod ugo+r +find . -type f -perm 640 | xargs chmod ugo+r +find . -type d -perm 700 | xargs chmod ugo+rx +find . -type f -perm 700 | xargs chmod ugo+r +find . -type f -perm 750 | xargs chmod uo+rx