Projet

Général

Profil

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

root / bin / d7-all-drush.sh @ 932c2f6c

1
#!/bin/sh
2

    
3
. /home/assos/bin/scripts-config.sh
4
. scripts-utils.sh
5

    
6
help="# ARGS: drush_command"
7

    
8
check_arguments "$#" 1 "${help}"
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}"
13
    drush "$@"
14
    sleep 5
15
done