Project

General

Profile

Paste
Download (338 Bytes) Statistics
| Branch: | Revision:

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

1 d52a5b2f jenselme
#!/bin/sh
2
3 15ed27d8 Julien Enselme
4
help='d7-all-drush.sh drush_arguments'
5
6
usage() {
7
    echo "${help}"
8
}
9 3e47efa1 Julien Enselme
10
if [ "$1" = "-h" ] ; then
11
    usage()
12
    exit 0
13
fi
14 15ed27d8 Julien Enselme
15
16 06e9d071 Assos Assos
. /home/assos/bin/scripts-config.sh
17 653aeb8e Julien Enselme
. /home/assos/bin/scripts-utils.sh
18 d52a5b2f jenselme
19
20 3e9236bd Julien Enselme
check_arguments "$#" 1 "${help}"
21 d52a5b2f jenselme
22 d4c4525a Julien Enselme
for site in $(sites_list) ; do
23
    echo "${site}"
24
    drush @"${site}" "$@"
25 5d7bc31a Benjamin Luce
    sleep 5
26 d52a5b2f jenselme
done