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/d7-all-drush.sh
7 7

  
8 8
check_arguments "$#" 1 "${help}"
9 9

  
10
for dir in "$(find "${d7_dir_sites}" -maxdepth 1 -mindepth 1 -type d ! -name all | sort)" ; do
10
for dir in $(find "${d7_dir_sites}" -maxdepth 1 -mindepth 1 -type d ! -name all | sort) ; do
11 11
    cd "${dir}"
12 12
    echo "${dir}"
13 13
    drush "$@"

Formats disponibles : Unified diff