Project

General

Profile

Revision d4c4525a

Added by Julien Enselme about 9 years ago

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

Close #535

View differences:

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

Also available in: Unified diff