Révision 8550e097
Ajouté par Julien Enselme il y a plus de 9 ans
bin/d7-all-dump-individual.sh | ||
---|---|---|
7 | 7 |
|
8 | 8 |
check_arguments "$#" 1 "$help" |
9 | 9 |
|
10 |
current_date="$(date "+%Y-%m-%d-%Hh%Mm%Ss")"
|
|
10 |
current_date=$(date "+%Y-%m-%d-%Hh%Mm%Ss")
|
|
11 | 11 |
|
12 | 12 |
cd "${d7_dir_sites}" |
13 | 13 |
|
14 |
for dir in "$(find . -maxdepth 1 -mindepth 1 -type d ! -name all | cut -c3-)" ; do
|
|
14 |
for dir in $(find . -maxdepth 1 -mindepth 1 -type d ! -name all | cut -c3-); do
|
|
15 | 15 |
cd "${dir}" |
16 | 16 |
drush cc all |
17 | 17 |
if [ "$1" = 'auto' ] ; then |
Formats disponibles : Unified diff
Command subsitution are not quoted. Quotes posed problems in loop.