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-releases-info.sh
6 6
# and all versions that are available for same project on drupal.org
7 7

  
8 8
# modules
9
cd "${d7_dir_sites}/all/modules"
9
cd "${d7_dir_all_modules}"
10 10
for dir in $(ls -1) ; do
11 11
    if [ -d "${dir}" ] ; then
12 12
        drush pm-releases "${dir}"
......
14 14
done
15 15

  
16 16
# themes
17
cd "${d7_dir_sites}/all/themes"
17
cd "${d7_dir_all_themes}"
18 18
for dir in $(ls -1) ; do
19 19
    if [ -d "${dir}" ] ; then
20 20
        drush pm-releases "${dir}"

Also available in: Unified diff