Révision 3e9236bd
Ajouté par Julien Enselme il y a plus de 9 ans
bin/d7-all-drush.sh | ||
---|---|---|
5 | 5 |
|
6 | 6 |
help="# ARGS: drush_command" |
7 | 7 |
|
8 |
check_arguments $# 1 "$help"
|
|
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
|
|
11 |
cd $dir
|
|
12 |
echo $dir
|
|
10 |
for dir in "$(find "${d7_dir_sites}" -maxdepth 1 -mindepth 1 -type d ! -name all | sort)" ; do
|
|
11 |
cd "${dir}"
|
|
12 |
echo "${dir}"
|
|
13 | 13 |
drush "$@" |
14 | 14 |
sleep 5 |
15 | 15 |
done |
Formats disponibles : Unified diff
Update scritp so they respect the new convention.