Skip to content

Commit

Permalink
Issue #1681: Set vagrant exec default directory in BLT Vagrantfile. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
geerlingguy authored and grasmash committed Jun 19, 2017
1 parent daf5c3a commit 3e20a29
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/drupal-vm/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,8 @@ ENV['DRUPALVM_DIR'] = "vendor/geerlingguy/drupal-vm"

# Load the real Vagrantfile
load "#{__dir__}/#{ENV['DRUPALVM_DIR']}/Vagrantfile"

# Set up vagrant exec for BLT.
if Vagrant.has_plugin?('vagrant-exec')
config.exec.commands '*', directory: /var/www/${project.machine_name}
end

0 comments on commit 3e20a29

Please sign in to comment.