Révision 742e9ebd
Ajouté par Julien Enselme il y a presque 11 ans
bin/drushall_atest | ||
---|---|---|
6 | 6 |
# ceci est une copie quasi conforme du script initial drushall créé pour d6 |
7 | 7 |
############## |
8 | 8 |
|
9 |
init_scripts.sh |
|
9 | 10 |
|
10 | 11 |
if [ $# -lt 1 ]; then |
11 | 12 |
echo "usage: $0 <drush args>" |
... | ... | |
14 | 15 |
|
15 | 16 |
cd /users/guest/assos/htmltest/sites |
16 | 17 |
|
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 |
|
18 |
for dir in $(find . -maxdepth 1 -mindepth 1 -type d ! -name all) |
|
19 |
do |
|
20 |
if [ $1 = init ] |
|
21 |
then |
|
22 |
cd $dir |
|
23 |
/users/guest/assos/bin/init_var.sh |
|
24 |
cd - |
|
25 |
else |
|
26 |
cd $x; |
|
27 |
echo $x |
|
28 |
drush $* |
|
29 |
cd -; |
|
30 |
fi |
|
24 | 31 |
done |
Formats disponibles : Unified diff
Variables drupal