Projet

Général

Profil

Révision d4c4525a

Ajouté par Julien Enselme il y a environ 9 ans

Use drush aliases to loop on all sites instead of sites.

Close #535

Voir les différences:

bin/d7-all-drush.sh
19 19

  
20 20
check_arguments "$#" 1 "${help}"
21 21

  
22
for dir in $(find "${d7_dir_sites}" -maxdepth 1 -mindepth 1 -type d ! -name all | sort) ; do
23
    cd "${dir}"
24
    echo "${dir}"
25
    drush "$@"
22
for site in $(sites_list) ; do
23
    echo "${site}"
24
    drush @"${site}" "$@"
26 25
    sleep 5
27 26
done

Formats disponibles : Unified diff