Project

General

Profile

Revision 653aeb8e

Added by Julien Enselme about 9 years ago

Various correction in scripts.

  • All source imports use absolute path.
  • Add comments.
  • Create 2 new variables: d7_dir_all_modules and d7_dir_all_themes in scripts-config.sh.
  • Make scripts respect code style.

View differences:

bin/d7-all-dump-individual.sh
23 23

  
24 24

  
25 25
. /home/assos/bin/scripts-config.sh
26
. scripts-utils.sh
26
. /home/assos/bin/scripts-utils.sh
27 27

  
28 28

  
29 29
current_date=$(date "+%Y-%m-%d-%Hh%Mm%Ss")
30 30

  
31 31
cd "${d7_dir_sites}"
32 32

  
33
# cut -c3- is used to transform directories from ./<dirname> to <dirname>
33 34
for dir in $(find . -maxdepth 1 -mindepth 1 -type d ! -name all | cut -c3-); do
34 35
    cd "${dir}"
35 36
    drush cc all

Also available in: Unified diff