Projet

Général

Profil

Paste
Télécharger (290 octets) Statistiques
| Branche: | Révision:

root / bin / d7-all-drush.sh @ e451b022

1 d52a5b2f jenselme
#!/bin/sh
2
3 06e9d071 Assos Assos
. /home/assos/bin/scripts-config.sh
4 d52a5b2f jenselme
. scripts-utils.sh
5
6
help="# ARGS: drush_command"
7
8 3e9236bd Julien Enselme
check_arguments "$#" 1 "${help}"
9 d52a5b2f jenselme
10 8550e097 Julien Enselme
for dir in $(find "${d7_dir_sites}" -maxdepth 1 -mindepth 1 -type d ! -name all | sort) ; do
11 3e9236bd Julien Enselme
    cd "${dir}"
12
    echo "${dir}"
13 e852c150 Julien Enselme
    drush "$@"
14 5d7bc31a Benjamin Luce
    sleep 5
15 d52a5b2f jenselme
done