From 8fa487436eeec9eadfb01b6c823495cf69869dfa Mon Sep 17 00:00:00 2001 From: Joe Ferguson Date: Wed, 14 Dec 2016 23:18:49 -0600 Subject: [PATCH] :ambulance: :checkered_flag: Fix line endings on aliases file if needed, fixes #396 --- Vagrantfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Vagrantfile b/Vagrantfile index 2c0968372..d84fbd09a 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -19,6 +19,9 @@ Vagrant.require_version '>= 1.8.4' Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| if File.exist? aliasesPath then config.vm.provision "file", source: aliasesPath, destination: "~/.bash_aliases" + config.vm.provision "shell" do |s| + s.inline = "awk '{ sub(\"\r$\", \"\"); print }' /home/vagrant/.bash_aliases > /home/vagrant/.bash_aliases" + end end if File.exist? homesteadYamlPath then