Projet

Général

Profil

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

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

1
#!/bin/sh
2

    
3

    
4
help='d7-all-drush.sh drush_arguments'
5

    
6
usage() {
7
    echo "${help}"
8
}
9

    
10
if [ "$1" = "-h" ] ; then
11
    usage()
12
    exit 0
13
fi
14

    
15

    
16
. /home/assos/bin/scripts-config.sh
17
. /home/assos/bin/scripts-utils.sh
18

    
19

    
20
check_arguments "$#" 1 "${help}"
21

    
22
for site in $(sites_list) ; do
23
    echo "${site}"
24
    drush @"${site}" "$@"
25
    sleep 5
26
done