Fix missing "-" $script variable definition.

In the $script variable definition there appears to be a typo of "<<SCRIPT" when it should be "<<-SCRIPT". I ran into this issue while editing the Vagrant file on a Fedora variant with ruby 2.3.3p222 (2016-11-21 revision 56859) [x86_64-linux].
This commit is contained in:
Brandon Authier 2018-03-20 15:58:28 -07:00 committed by GitHub
parent 419afb4dcf
commit e5dd4d9e36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ Combined with a little bit more Ruby, this makes it very easy to embed
your shell scripts directly within your Vagrantfile. Another example below: your shell scripts directly within your Vagrantfile. Another example below:
```ruby ```ruby
$script = <<SCRIPT $script = <<-SCRIPT
echo I am provisioning... echo I am provisioning...
date > /etc/vagrant_provisioned_at date > /etc/vagrant_provisioned_at
SCRIPT SCRIPT