root / bin / drushall @ e253ff2a
1 |
#!/bin/sh |
---|---|
2 |
PATH=/usr/local/bin:/usr/bin:/bin |
3 |
|
4 |
init_scripts.sh |
5 |
|
6 |
if [ $# -lt 1 ]; then |
7 |
echo "usage: $0 <drush args>" |
8 |
exit 1 |
9 |
fi |
10 |
|
11 |
cd $d7_sites_dir |
12 |
|
13 |
for x in $(ls -1 | grep -v 'all' | grep -v file-*); do |
14 |
if [ -d $x -a ! -L $x ]; then |
15 |
cd $x; |
16 |
echo $x |
17 |
#drush pm-info; |
18 |
#drush dis ldapauth ldapdata ldapgroups; |
19 |
drush $* |
20 |
cd -; |
21 |
fi |
22 |
done |