Projet

Général

Profil

Révision 3e9236bd

Ajouté par Julien Enselme il y a plus de 9 ans

Update scritp so they respect the new convention.

  • Variables are quoted.
  • $(…) are quoted.

Voir les différences:

bin/d7-all-usage.sh
4 4

  
5 5
# For each modules and themes, list and count how much sites use its.
6 6

  
7
cd $d7_dir_sites
7
cd "${d7_dir_sites}"
8 8

  
9
for line in $(drush pml --no-core --pipe); do
10
    usage.sh d7 enabled "$line"
9
for line in "$(drush pml --no-core --pipe)"; do
10
    usage.sh d7 enabled "${line}"
11 11
    echo -e "\n"
12 12
done

Formats disponibles : Unified diff