root / bin / d7-all-drush.sh @ 76597ebf
1 |
#!/bin/sh |
---|---|
2 |
|
3 |
. /home/assos/bin/scripts-config.sh |
4 |
. scripts-utils.sh |
5 |
|
6 |
help="# ARGS: drush_command" |
7 |
|
8 |
check_arguments "$#" 1 "${help}" |
9 |
|
10 |
for dir in $(find "${d7_dir_sites}" -maxdepth 1 -mindepth 1 -type d ! -name all | sort) ; do |
11 |
cd "${dir}" |
12 |
echo "${dir}" |
13 |
drush "$@" |
14 |
sleep 5 |
15 |
done |