Projet

Général

Profil

Révision 653aeb8e

Ajouté par Julien Enselme il y a environ 9 ans

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.

Voir les différences:

bin/usage.sh
38 38

  
39 39

  
40 40
. /home/assos/bin/scripts-config.sh
41
. scripts-utils.sh
41
. /home/assos/bin/scripts-utils.sh
42 42

  
43 43

  
44 44
if [ "${drupal_version}" = d7 ] ; then
......
58 58
    cd "${dir}";
59 59
	if [ 1 -le $(drush pml --status="${project_status}" | grep "${project_name}" | wc -l) ] ; then
60 60
        echo "${dir}";
61
        number_found=$(($number_found + 1))
61
        number_found=$((${number_found} + 1))
62 62
    fi
63 63
    cd -
64 64
done

Formats disponibles : Unified diff