Skip to content

Commit

Permalink
Fixed crash on testing for bootstrap presence
Browse files Browse the repository at this point in the history
  • Loading branch information
anugupta committed Jun 5, 2016
1 parent ac7ebb4 commit a97fe28
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
end

# provisioning script
if ( provisioning_file = File.file?('wp-vagrant/bootstrap.sh') )
provisioning_file = 'wp-vagrant/bootstrap.sh'
if ( File.file?(provisioning_file) )
config.vm.provision "shell" do |s|
s.path = provisioning_file
end
Expand Down

0 comments on commit a97fe28

Please sign in to comment.