Skip to content

Commit

Permalink
Fixing directories.
Browse files Browse the repository at this point in the history
  • Loading branch information
grasmash committed Sep 26, 2016
1 parent d67bc01 commit 5ea0b0b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions phing/tasks/vm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@

<target name="vm:project:init" description="Initializes Drupal VM for this project." hidden="true">
<echo>BLT support for Drupal VM is EXPERIMENTAL. Not all BLT features currently work with Drupal VM. </echo>
<echo></echo>
<echo>Creating a drush alias for the new VM.</echo>
<exec dir="${repo.root}" command="cat ${blt.root}/scripts/drupal-vm/drupal-vm.aliases.drushrc.php >> ${repo.root}/drush/site-aliases/aliases.drushrc.php" logoutput="true" checkreturn="true" level="info"/>
<reflexive>
Expand Down Expand Up @@ -107,14 +108,14 @@
<istrue value="${vagrant.hostsupdater.missing}"/>
<then>
<echo>The vagrant-hostsupdater plugin is not installed! Attempting to install it...</echo>
<exec command="vagrant plugin install vagrant-hostsupdater" logoutput="true" checkreturn="true" level="info" passthru="true"/>
<exec dir="${repo.root}" command="vagrant plugin install vagrant-hostsupdater" logoutput="true" checkreturn="true" level="info" passthru="true"/>
</then>
</if>

</target>

<target name="vm:up" depends="vm:requirements" hidden="true">
<exec command="vagrant up" logoutput="true" checkreturn="true" level="info" passthru="true" />
<exec dir="${repo.root}" command="vagrant up" logoutput="true" checkreturn="true" level="info" passthru="true" />
</target>

</project>
3 changes: 2 additions & 1 deletion src/Drush/Command/BltDoctorCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,8 @@ protected function checkFileSystem() {
$this->logError("$title does not exist.");
$this->logErrorDetail("Create $full_path.");
if (in_array($key, ['%files', '%private'])) {
$this->logErrorDetail("Installing Drupal will create this directory for you. Run `blt setup:drupal:install` to install Drupal, or run `blt setup` to run the entire setup process.");
$this->logErrorDetail("Installing Drupal will create this directory for you.");
$this->logErrorDetail("Run `blt setup:drupal:install` to install Drupal, or run `blt setup` to run the entire setup process.");
$this->logErrorDetail("Otherwise, run `mkdir -p $full_path`.");
$this->logErrorDetail();
}
Expand Down

0 comments on commit 5ea0b0b

Please sign in to comment.