root / bin / drushall_atest @ d6b9e174
1 | 170eac77 | jenselme | #!/bin/sh |
---|---|---|---|
2 | PATH=/usr/local/bin:/usr/bin:/bin |
||
3 | |||
4 | ############## |
||
5 | # nlehuby - 16 décembre 2011 |
||
6 | # ceci est une copie quasi conforme du script initial drushall créé pour d6 |
||
7 | ############## |
||
8 | |||
9 | |||
10 | if [ $# -lt 1 ]; then |
||
11 | echo "usage: $0 <drush args>" |
||
12 | exit 1 |
||
13 | fi |
||
14 | |||
15 | cd /users/guest/assos/htmltest/sites |
||
16 | |||
17 | for x in $(ls -1 | grep -v 'all' | grep -v file-*); do |
||
18 | if [ -d $x -a ! -L $x ]; then |
||
19 | cd $x; |
||
20 | echo $x |
||
21 | drush $* |
||
22 | cd -; |
||
23 | fi |
||
24 | done |