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/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

Also available in: Unified diff