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-reset-variables.sh
3 3
. /home/assos/bin/scripts-config.sh
4 4
. /home/assos/bin/scripts-utils.sh
5 5

  
6
for dir in $(find "${d7_dir_sites}" -maxdepth 1 -mindepth 1 -type d ! -name all | sort); do
7
    echo "${dir}"
8
    site_name=$(get_site_name_from_dir_name "${dir}")
9
    d7-reset-variables.sh "${site_name}"
6
for site in $(sites_list); do
7
    echo "${site}"
8
    d7-reset-variables.sh "${site}"
10 9
done

Formats disponibles : Unified diff