Skip to content

Commit

Permalink
The 'dir' attribute for <filelist> wasn't working, so include the dru…
Browse files Browse the repository at this point in the history
…pal root in the create-placeholder paths.
  • Loading branch information
becw committed Mar 15, 2016
1 parent e858e4e commit 4d7f349
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions tasks/drupal.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,10 @@

<!-- Target: drupal-prepare-filesystem -->
<target name="drupal-prepare-filesystem" description="Prepare the filesystem for running Drupal.">
<!-- Make sure the file source directory exists. -->
<!-- Make sure the file source directory exists, and create the Drupal
modules, themes, profiles, and sites directories. -->
<foreach target="create-placeholder" param="dir">
<filelist dir="${build.dir}" files="${build.drupal.files}" />
</foreach>

<!-- Create Drupal modules, themes, profiles, and sites directories. -->
<foreach target="create-placeholder" param="dir">
<filelist dir="${build.dir}/${drupal.root}" files="modules/custom,modules/custom,themes/custom,profiles/custom,web/sites/${drupal.sites_subdir}" />
<filelist files="${build.drupal.files},${drupal.root}/modules/custom,${drupal.root}/modules/custom,${drupal.root}/themes/custom,${drupal.root}/profiles/custom,${drupal.root}/sites/${drupal.sites_subdir}" />
</foreach>

<chmod file="${build.dir}/${drupal.root}/sites/${drupal.sites_subdir}" mode="777" />
Expand Down

0 comments on commit 4d7f349

Please sign in to comment.