Projet

Général

Profil

Révision 8550e097

Ajouté par Julien Enselme il y a plus de 9 ans

Command subsitution are not quoted. Quotes posed problems in loop.

Voir les différences:

bin/all-reset-permissions.sh
5 5
# This script puts the correct permissions to sites folders, settings.php and scripts.
6 6

  
7 7
######### drupal 7
8
for dir in "$(find "${d7_dir_sites}" -type d -maxdepth 1 -mindepth 1 ! -name all)" ; do
8
for dir in $(find "${d7_dir_sites}" -type d -maxdepth 1 -mindepth 1 ! -name all); do
9 9
    chmod 755 "${dir}"
10 10
    chmod 400 "${dir}/settings.php"
11 11
    chmod 400 "${dir}/settings.local.php"

Formats disponibles : Unified diff